public class DateInterval extends Object implements Serializable
DatePicker to validate the content
of date intervals expressed in json format and also to convert them from MessageML format to PresentationML format:
basically, the json object for PresentationML has one more field: 'type', that can be calculated based on with fields are filled| Constructor and Description |
|---|
DateInterval() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertIsValid() |
String |
getDay() |
Integer[] |
getDaysOfWeek() |
String |
getFrom() |
String |
getTo() |
String |
getType() |
void |
setDay(String day) |
void |
setDaysOfWeek(Integer[] daysOfWeek) |
void |
setFrom(String from) |
void |
setTo(String to) |
public String getType()
public void assertIsValid()
throws InvalidInputException
InvalidInputExceptionpublic String getDay()
public void setDay(String day)
public String getFrom()
public void setFrom(String from)
public String getTo()
public void setTo(String to)
public Integer[] getDaysOfWeek()
public void setDaysOfWeek(Integer[] daysOfWeek)
Copyright © 2020 The Symphony Software Foundation. All rights reserved.