Package io.ciera.runtime.summit.types
Class Date
- java.lang.Object
-
- io.ciera.runtime.summit.types.Date
-
- All Implemented Interfaces:
IXtumlType,Comparable<Date>
public class Date extends Object implements IXtumlType, Comparable<Date>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Date o)static Datedeserialize(Object o)booleanequals(Object o)intgetDay()intgetHour()intgetMinute()intgetMonth()intgetSecond()intgetYear()booleangreaterThan(Date o)booleangreaterThanOrEqual(Date o)inthashCode()booleanlessThan(Date o)booleanlessThanOrEqual(Date o)static Datenow(IRunContext runContext)Stringserialize()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.ciera.runtime.summit.types.IXtumlType
equality, inequality, oneWhere
-
-
-
-
Method Detail
-
getYear
public int getYear()
-
getMonth
public int getMonth()
-
getDay
public int getDay()
-
getHour
public int getHour()
-
getMinute
public int getMinute()
-
getSecond
public int getSecond()
-
now
public static Date now(IRunContext runContext)
-
compareTo
public int compareTo(Date o)
- Specified by:
compareToin interfaceComparable<Date>
-
lessThan
public boolean lessThan(Date o)
-
lessThanOrEqual
public boolean lessThanOrEqual(Date o)
-
greaterThan
public boolean greaterThan(Date o)
-
greaterThanOrEqual
public boolean greaterThanOrEqual(Date o)
-
serialize
public String serialize()
- Specified by:
serializein interfaceIXtumlType
-
deserialize
public static Date deserialize(Object o) throws XtumlException
- Throws:
XtumlException
-
-