Package tethys

Class TethysTimeFuncs

java.lang.Object
tethys.TethysTimeFuncs

public class TethysTimeFuncs extends Object
  • Constructor Details

    • TethysTimeFuncs

      public TethysTimeFuncs()
  • Method Details

    • xmlGregCalFromMillis

      public static XMLGregorianCalendar xmlGregCalFromMillis(long millis)
    • millisFromGregorianXML

      public static Long millisFromGregorianXML(XMLGregorianCalendar xmlGregorian)
      Convert a Gregorian calendar value back to milliseconds.
      Parameters:
      xmlGregorian -
      Returns:
    • fromGregorianXML

      public static XMLGregorianCalendar fromGregorianXML(String gregorianString)
      Make a Gregorian calendar object from a returned XML string.
      Parameters:
      gregorianString -
      Returns:
    • formatGregorianTime

      public static String formatGregorianTime(XMLGregorianCalendar gregCal)