Package tethys
Class TethysTimeFuncs
java.lang.Object
tethys.TethysTimeFuncs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatGregorianTime
(XMLGregorianCalendar gregCal) static XMLGregorianCalendar
fromGregorianXML
(String gregorianString) Make a Gregorian calendar object from a returned XML string.static Long
millisFromGregorianXML
(XMLGregorianCalendar xmlGregorian) Convert a Gregorian calendar value back to milliseconds.static XMLGregorianCalendar
xmlGregCalFromMillis
(long millis)
-
Constructor Details
-
TethysTimeFuncs
public TethysTimeFuncs()
-
-
Method Details
-
xmlGregCalFromMillis
-
millisFromGregorianXML
Convert a Gregorian calendar value back to milliseconds.- Parameters:
xmlGregorian
-- Returns:
-
fromGregorianXML
Make a Gregorian calendar object from a returned XML string.- Parameters:
gregorianString
-- Returns:
-
formatGregorianTime
-