Enum DateTime

java.lang.Object
java.lang.Enum<DateTime>
nom.tam.fits.header.DateTime
All Implemented Interfaces:
Serializable, Comparable<DateTime>, java.lang.constant.Constable, IFitsHeader

public enum DateTime extends Enum<DateTime> implements IFitsHeader
Date-time related keywords defined by the FITS standard.
Since:
1.19
Author:
Attila Kovacs
See Also:
  • Enum Constant Details

    • DATE

      public static final DateTime DATE
      The date on which the HDU was created, in the format specified in the FITS Standard. The old date format was 'yy/mm/dd' and may be used only for dates from 1900 through 1999. the new Y2K compliant date format is 'yyyy-mm-dd' or 'yyyy-mm-ddTHH:MM:SS[.sss]'.
      Since:
      1.19
    • DATE_OBS

      public static final DateTime DATE_OBS
      The date of the observation, in the format specified in the FITS Standard. The old date format was 'yy/mm/dd' and may be used only for dates from 1900 through 1999. The new Y2K compliant date format is 'yyyy-mm-dd' or 'yyyy-mm-ddTHH:MM:SS[.sss]'.
      Since:
      1.19
    • DOBSn

      public static final DateTime DOBSn
      The date of the observation for the given column index, in the format specified in the FITS Standard. The old date format was 'yy/mm/dd' and may be used only for dates from 1900 through 1999. The new Y2K compliant date format is 'yyyy-mm-dd' or 'yyyy-mm-ddTHH:MM:SS[.sss]'.
      Since:
      1.19
    • DATE_AVG

      public static final DateTime DATE_AVG
      The average date of the observation, in the format specified in the FITS Standard. The old date format was 'yy/mm/dd' and may be used only for dates from 1900 through 1999. The new Y2K compliant date format is 'yyyy-mm-dd' or 'yyyy-mm-ddTHH:MM:SS[.sss]'.
      Since:
      1.19
    • DAVGn

      public static final DateTime DAVGn
      Avearge date of the observation for the given column index, in the format specified in the FITS Standard. The old date format was 'yy/mm/dd' and may be used only for dates from 1900 through 1999. The new Y2K compliant date format is 'yyyy-mm-dd' or 'yyyy-mm-ddTHH:MM:SS[.sss]'.
      Since:
      1.19
    • DATE_BEG

      public static final DateTime DATE_BEG
      The start date of the observation, in the format specified in the FITS Standard. The old date format was 'yy/mm/dd' and may be used only for dates from 1900 through 1999. The new Y2K compliant date format is 'yyyy-mm-dd' or 'yyyy-mm-ddTHH:MM:SS[.sss]'.
      Since:
      1.19
    • DATE_END

      public static final DateTime DATE_END
      The end date of the observation, in the format specified in the FITS Standard. The old date format was 'yy/mm/dd' and may be used only for dates from 1900 through 1999. The new Y2K compliant date format is 'yyyy-mm-dd' or 'yyyy-mm-ddTHH:MM:SS[.sss]'.
      Since:
      1.19
    • DATEREF

      public static final DateTime DATEREF
      The reference date of the observation, in the format specified in the FITS Standard. The old date format was 'yy/mm/dd' and may be used only for dates from 1900 through 1999. The new Y2K compliant date format is 'yyyy-mm-dd' or 'yyyy-mm-ddTHH:MM:SS[.sss]'.
      Since:
      1.19
    • MJD_OBS

      public static final DateTime MJD_OBS
      [day] Modified Julian Date of observation
      Since:
      1.19
    • MJDOBn

      public static final DateTime MJDOBn
      [day] Modified Julian Date of observation for the given column index
      Since:
      1.19
    • MJD_AVG

      public static final DateTime MJD_AVG
      [day] Average Modified Julian Date of observation
      Since:
      1.19
    • MJDAn

      public static final DateTime MJDAn
      [day] Average Modified Julian Date of observation for the given column index
      Since:
      1.19
    • MJD_BEG

      public static final DateTime MJD_BEG
      [day] Modified Julian Date of the start of observation
      Since:
      1.19
    • MJD_END

      public static final DateTime MJD_END
      [day] Average Modified Julian Date of the end of observation
      Since:
      1.19
    • MJDREF

      public static final DateTime MJDREF
      [day] Reference Modified Julian Date
      Since:
      1.19
    • JDREF

      public static final DateTime JDREF
      [day] Reference Julian Date
      Since:
      1.19
    • TSTART

      public static final DateTime TSTART
      The start time of the observation, in the format specified in the FITS Standard, as decimal or in the format HH:MM:SS[.s...]'.
      Since:
      1.19
    • TSTOP

      public static final DateTime TSTOP
      The end time of the observation, in the format specified in the FITS Standard, as decimal or in the format HH:MM:SS[.s...]'.
      Since:
      1.19
    • BEPOCH

      public static final DateTime BEPOCH
      [yr] Besselian epoch of observation
      Since:
      1.19
    • JEPOCH

      public static final DateTime JEPOCH
      [yr] Julian epoch of observation
      Since:
      1.19
    • XPOSURE

      public static final DateTime XPOSURE
      Net exposure duration (in specified time units, or else seconds)
      Since:
      1.19
    • TELAPSE

      public static final DateTime TELAPSE
      Wall clock exposure duration (in specified time units, or else seconds)
      Since:
      1.19
    • TIMESYS

      public static final DateTime TIMESYS
      Time reference system name
      Since:
      1.19
    • TREFPOS

      public static final DateTime TREFPOS
      Time reference location
      Since:
      1.19
    • TRPOSn

      public static final DateTime TRPOSn
      Time reference location for given column index.
      Since:
      1.19
    • TREFDIR

      public static final DateTime TREFDIR
      Pointer to time reference direction
      Since:
      1.19
    • TRDIRn

      public static final DateTime TRDIRn
      Time reference direction for given column index, e.g. 'TOPOCENT'
      Since:
      1.19
    • PLEPHEM

      public static final DateTime PLEPHEM
      Solar system ephemeris used, e.g. 'DE-405'.
      Since:
      1.19
    • TIMEUNIT

      public static final DateTime TIMEUNIT
      Time unit name
      Since:
      1.19
    • TIMEOFFS

      public static final DateTime TIMEOFFS
      Precision time offset (in specified time units, or else seconds)
      Since:
      1.19
    • TIMESYER

      public static final DateTime TIMESYER
      Systematic time error (in specified time units, or else seconds)
      Since:
      1.19
    • TIMERDER

      public static final DateTime TIMERDER
      Random time error (in specified time units, or else seconds)
      Since:
      1.19
    • TIMEDEL

      public static final DateTime TIMEDEL
      Time resolution (in specified time units, or else seconds)
      Since:
      1.19
    • TIMEPIXR

      public static final DateTime TIMEPIXR
      Time location within pixel, between 0.0 and 1.0 (default 0.5).
      Since:
      1.19
  • Field Details

  • Method Details

    • values

      public static DateTime[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DateTime valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • impl

      public final FitsKey impl()
      Description copied from interface: IFitsHeader
      (primarily for internal use) Returns the concrete implementation of this header entry, which provides implementation of access methods.
      Specified by:
      impl in interface IFitsHeader
      Returns:
      the implementation of this keyword, which provides the actual access methods. Implementations of this interface should simply return themselves.