Package org.jupnp.model.types
Klasse DateTimeDatatype
- Autor:
- Christian Bauer
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.jupnp.model.types.Datatype
Datatype.Builtin, Datatype.Default -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected DategetDateValue(String value, String[] formats) Transforms a value supported by this datatype into a string representation.protected TimeZoneprotected StringnormalizeTimeZone(String value) Transforms a string representation into a value of the supported type.Von Klasse geerbte Methoden org.jupnp.model.types.AbstractDatatype
getBuiltin, getDisplayString, getValueType, isHandlingJavaType, isValid, setBuiltin, toString
-
Felddetails
-
readFormats
-
writeFormat
-
-
Konstruktordetails
-
DateTimeDatatype
-
-
Methodendetails
-
valueOf
Beschreibung aus Schnittstelle kopiert:DatatypeTransforms a string representation into a value of the supported type.- Angegeben von:
valueOfin SchnittstelleDatatype<Calendar>- Setzt außer Kraft:
valueOfin KlasseAbstractDatatype<Calendar>- Parameter:
s- The string representation of a value.- Gibt zurück:
- The converted value or
nullif the string wasnullor empty. - Löst aus:
InvalidValueException- If the string couldn't be parsed.
-
getString
Beschreibung aus Schnittstelle kopiert:DatatypeTransforms a value supported by this datatype into a string representation.This method calls
Datatype.isValid(Object)before converting the value, it throws an exception if validation fails.- Angegeben von:
getStringin SchnittstelleDatatype<Calendar>- Setzt außer Kraft:
getStringin KlasseAbstractDatatype<Calendar>- Parameter:
value- The value to transform.- Gibt zurück:
- The transformed value as a string, or an empty string when the value is null, never returns
null. - Löst aus:
InvalidValueException
-
normalizeTimeZone
-
getDateValue
-
getTimeZone
-