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 Link icon

    • DATE Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

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

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

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

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

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

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

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

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

      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 Link icon

      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 Link icon

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • Method Details Link icon

    • values Link icon

      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 Link icon

      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 Link icon

      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.