|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fraunhofer.ipsi.xpathDatatypes.XS_AnySimpleType
de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
de.fraunhofer.ipsi.xpathDatatypes.XS_DateTime
public class XS_DateTime
Field Summary | |
---|---|
static XS_DateTime |
REFERENCE_DATETIME
|
Constructor Summary | |
---|---|
XS_DateTime(java.lang.String s)
Constructor |
|
XS_DateTime(XS_Date date)
Constructor |
|
XS_DateTime(XS_Date date,
XS_Time time)
|
|
XS_DateTime(XS_GDay gd)
|
|
XS_DateTime(XS_GMonth gm)
|
|
XS_DateTime(XS_GMonthDay gmd)
|
|
XS_DateTime(XS_GYear gy)
|
|
XS_DateTime(XS_GYearMonth gym)
|
|
XS_DateTime(XS_Time time)
|
Method Summary | ||
---|---|---|
XS_DateTime |
add(XDT_DayTimeDuration dayTimeDuration)
Method add |
|
XS_DateTime |
add(XDT_YearMonthDuration yearMonthDuration)
Method add |
|
|
castas(java.lang.Class<T> type)
Method castas |
|
int |
compareTo(java.lang.Object o)
Method dateTimeLessThan |
|
static XS_DateTime |
currentDateTime()
Method currentDateTime |
|
XS_Integer |
getDay()
Method getDayF |
|
XDT_DayTimeDuration |
getDayTimeDuration(XS_DateTime dateTime)
Method getDayTimeDuration |
|
XS_Integer |
getHours()
Method getHoursF |
|
XS_Integer |
getMinutes()
Method getMinutes |
|
XS_Integer |
getMonth()
Method getMonth |
|
XS_Decimal |
getSeconds()
Method getSeconds |
|
XS_Integer |
getYear()
Method getYear |
|
XDT_YearMonthDuration |
getYearMonthDuration(XS_DateTime dateTime)
Method getYearMonthDuration |
|
XS_DateTime |
secondsToDateTime(double seconds,
boolean positive)
Method secondsToDateTime |
|
XS_DateTime |
subtract(XDT_DayTimeDuration dayTimeDuration)
Method subtract |
|
XS_DateTime |
subtract(XDT_YearMonthDuration yearMonthDuration)
Method subtract |
|
java.lang.String |
toString()
Method toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final XS_DateTime REFERENCE_DATETIME
Constructor Detail |
---|
public XS_DateTime(java.lang.String s)
dateTime
- a XS_Stringpublic XS_DateTime(XS_Date date)
date
- a XS_Datepublic XS_DateTime(XS_Time time)
public XS_DateTime(XS_GYearMonth gym)
public XS_DateTime(XS_GYear gy)
public XS_DateTime(XS_GMonthDay gmd)
public XS_DateTime(XS_GMonth gm)
public XS_DateTime(XS_GDay gd)
public XS_DateTime(XS_Date date, XS_Time time)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public static XS_DateTime currentDateTime()
public <T extends XDT_AnyAtomicType> T castas(java.lang.Class<T> type) throws java.lang.ClassCastException, XPathDTException
castas
in class XDT_AnyAtomicType
type
- a BuiltinSimpleType
CastError
java.lang.ClassCastException
XPathDTException
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public XS_Integer getYear()
public XS_Integer getMonth()
public XS_Integer getDay()
public XS_Integer getHours()
public XS_Integer getMinutes()
public XS_Decimal getSeconds()
public XS_DateTime secondsToDateTime(double seconds, boolean positive)
double
-
public XDT_DayTimeDuration getDayTimeDuration(XS_DateTime dateTime)
type
- XS_DateTime
public XDT_YearMonthDuration getYearMonthDuration(XS_DateTime dateTime)
type
- XS_DateTime
public XS_DateTime add(XDT_DayTimeDuration dayTimeDuration)
public XS_DateTime subtract(XDT_DayTimeDuration dayTimeDuration)
public XS_DateTime add(XDT_YearMonthDuration yearMonthDuration)
public XS_DateTime subtract(XDT_YearMonthDuration yearMonthDuration)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |