Class Dat

All Implemented Interfaces:
Iterable<Item>

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

    • Dat

      public Dat(ADate value)
      Constructor.
      Parameters:
      value - date
    • Dat

      public Dat(byte[] value, InputInfo ii) throws QueryException
      Constructor.
      Parameters:
      value - date
      ii - input info
      Throws:
      QueryException - query exception
    • Dat

      public Dat(Dat value, Dur dur, boolean plus, InputInfo ii) throws QueryException
      Constructor.
      Parameters:
      value - date
      dur - duration
      plus - plus/minus flag
      ii - input info
      Throws:
      QueryException - query exception
  • 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