Class TimeInterval
- java.lang.Object
-
- org.symphonyoss.symphony.messageml.util.pojo.TimeInterval
-
- All Implemented Interfaces:
Serializable
public class TimeInterval extends Object implements Serializable
This class helpsTimePickerto validate the content of time 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- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeInterval()
-
-
-
Method Detail
-
getTime
public String getTime()
-
setTime
public void setTime(String time)
-
getFrom
public String getFrom()
-
setFrom
public void setFrom(String from)
-
getTo
public String getTo()
-
setTo
public void setTo(String to)
-
assertIsValid
public void assertIsValid() throws InvalidInputException- Throws:
InvalidInputException
-
getType
public String getType()
-
-