Klasse NowValueHolder
java.lang.Object
de.uplanet.lucy.server.dataobjects.impl.NowValueHolder
- Alle implementierten Schnittstellen:
IDateTimeValueHolder,IValueHolder<Date>
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the canonical lexical representation of this value according to it's datatype.Get the current time with fractional seconds in millisecond resolution.getType()The type of data this value holder holds.getValue()Get the current time with fractional seconds set to zero.booleanhasValue()Check if this value holder currently holds data or not.
-
Konstruktordetails
-
NowValueHolder
public NowValueHolder()
-
-
Methodendetails
-
getType
Beschreibung aus Schnittstelle kopiert:IValueHolderThe type of data this value holder holds.- Angegeben von:
getTypein SchnittstelleIValueHolder<Date>- Gibt zurück:
XSD_TYPE.DATETIME.
-
getValue
Get the current time with fractional seconds set to zero.Note that subsequent calls to
getValuewill return the same value.- Angegeben von:
getValuein SchnittstelleIValueHolder<Date>- Gibt zurück:
- A
java.sql.Timestampthat represents the current time with fractional seconds set to zero.
-
getRawValue
Get the current time with fractional seconds in millisecond resolution.Note that subsequent calls to
getValuewill return the same value.- Angegeben von:
getRawValuein SchnittstelleIValueHolder<Date>- Gibt zurück:
- A
java.sql.Timestampthat represents the current time.
-
hasValue
public boolean hasValue()Beschreibung aus Schnittstelle kopiert:IValueHolderCheck if this value holder currently holds data or not.- Angegeben von:
hasValuein SchnittstelleIValueHolder<Date>- Gibt zurück:
- Always
true.
-
getCanonicalLexicalRepresentation
Beschreibung aus Schnittstelle kopiert:IValueHolderGet the canonical lexical representation of this value according to it's datatype.- Angegeben von:
getCanonicalLexicalRepresentationin SchnittstelleIValueHolder<Date>- Gibt zurück:
- The canonical lexical representation of the current date.
- Siehe auch:
-