public class ConfDatetime extends ConfValue implements Cloneable, Serializable, Comparable<ConfDatetime>
J_BINARY, J_BIT32, J_BIT64, J_BITBIG, J_BOOL, J_BUF, J_CDBBEGIN, J_DATE, J_DATETIME, J_DECIMAL64, J_DEFAULT, J_DOUBLE, J_DQUAD, J_DURATION, J_ENUMERATION, J_HEXSTR, J_IDENTITYREF, J_INSTANCE_IDENTIFIER, J_INT16, J_INT32, J_INT64, J_INT8, J_IPV4, J_IPV4_AND_PLEN, J_IPV4PREFIX, J_IPV6, J_IPV6_AND_PLEN, J_IPV6PREFIX, J_LIST, J_NOEXISTS, J_OBJECTREF, J_OID, J_PTR, J_QNAME, J_STR, J_SYMBOL, J_TIME, J_UINT16, J_UINT32, J_UINT64, J_UINT8, J_UNION, J_XMLBEGIN, J_XMLBEGINDEL, J_XMLEND, J_XMLMOVEAFTER, J_XMLMOVEFIRST, J_XMLTAG
Constructor and Description |
---|
ConfDatetime()
Deprecated.
|
ConfDatetime(ConfEObject o)
For internal usage.
|
ConfDatetime(GregorianCalendar cal)
Deprecated.
|
ConfDatetime(int year,
int month,
int day,
int hour,
int min,
int sec,
int micro,
int timezone,
int timezone_minutes) |
ConfDatetime(String str) |
Modifier and Type | Method and Description |
---|---|
boolean |
after(ConfDatetime time)
Deprecated.
|
boolean |
before(ConfDatetime time)
Deprecated.
|
int |
compareTo(ConfDatetime o)
Deprecated.
|
ConfEObject |
encode()
encode value.
|
boolean |
equals(Object o)
Determine if two ConfValue are equal.
|
GregorianCalendar |
getCalendar()
Deprecated.
|
static ConfDatetime |
getConfDatetime() |
int |
getDay() |
int |
getHour() |
int |
getMicro() |
int |
getMin() |
int |
getMonth() |
int |
getSec() |
int |
getTimezone() |
int |
getTimezoneMinutes() |
int |
getYear() |
int |
hashCode() |
boolean |
isTimezoneSet() |
String |
toString() |
getStringByValue, getStringByValue, getValueByString, getValueByString
clone, decode
public ConfDatetime(ConfEObject o) throws ConfException
ConfException
public ConfDatetime(int year, int month, int day, int hour, int min, int sec, int micro, int timezone, int timezone_minutes)
year
- -month
- - month from 1 to 12day
- -hour
- -min
- -sec
- -micro
- timezone
- - Timezone Hour in unit hourstimezone_minutes
- - Timezone Minutes in unit minutespublic ConfDatetime(String str)
@Deprecated public ConfDatetime()
@Deprecated public ConfDatetime(GregorianCalendar cal)
cal
- public static ConfDatetime getConfDatetime()
public int getYear()
public int getMonth()
public int getDay()
public int getHour()
public int getMin()
public int getSec()
public int getMicro()
public int getTimezone()
public boolean isTimezoneSet()
public int getTimezoneMinutes()
@Deprecated public GregorianCalendar getCalendar()
@Deprecated public boolean before(ConfDatetime time)
@Deprecated public boolean after(ConfDatetime time)
public boolean equals(Object o)
ConfValue
public String toString()
public ConfEObject encode()
ConfValue
@Deprecated public int compareTo(ConfDatetime o)
compareTo
in interface Comparable<ConfDatetime>