Class Dtm

All Implemented Interfaces:
Iterable<Item>

public final class Dtm extends ADate
DateTime item (xs:dateTime).
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

  • Method Details

    • timeZone

      public void timeZone(DTDur zone, boolean spec, InputInfo ii) throws QueryException
      Description copied from class: ADate
      Adjusts the timezone.
      Specified by:
      timeZone in class ADate
      Parameters:
      zone - timezone (may be null)
      spec - indicates if zone has been specified
      ii - input info
      Throws:
      QueryException - query exception
    • get

      public static Dtm get(long ms)
      Returns a dateTime item for the specified milliseconds.
      Parameters:
      ms - milliseconds since January 1, 1970, 00:00:00 GMT
      Returns:
      dateTime instance