Package nom.tam.fits.header
Enum DateTime
- All Implemented Interfaces:
Serializable
,Comparable<DateTime>
,java.lang.constant.Constable
,IFitsHeader
Date-time related keywords defined by the FITS standard.
- Since:
- 1.19
- Author:
- Attila Kovacs
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface nom.tam.fits.header.IFitsHeader
IFitsHeader.HDU, IFitsHeader.SOURCE, IFitsHeader.VALUE
-
Enum Constant Summary
Enum ConstantDescription[yr] Besselian epoch of observationThe date on which the HDU was created, in the format specified in the FITS Standard.The average date of the observation, in the format specified in the FITS Standard.The start date of the observation, in the format specified in the FITS Standard.The end date of the observation, in the format specified in the FITS Standard.The date of the observation, in the format specified in the FITS Standard.The reference date of the observation, in the format specified in the FITS Standard.Avearge date of the observation for the given column index, in the format specified in the FITS Standard.The date of the observation for the given column index, in the format specified in the FITS Standard.[day] Reference Julian Date[yr] Julian epoch of observation[day] Average Modified Julian Date of observation[day] Modified Julian Date of the start of observation[day] Average Modified Julian Date of the end of observation[day] Modified Julian Date of observation[day] Average Modified Julian Date of observation for the given column index[day] Modified Julian Date of observation for the given column index[day] Reference Modified Julian DateSolar system ephemeris used, e.g.Wall clock exposure duration (in specified time units, or else seconds)Time resolution (in specified time units, or else seconds)Precision time offset (in specified time units, or else seconds)Time location within pixel, between 0.0 and 1.0 (default 0.5).Random time error (in specified time units, or else seconds)Systematic time error (in specified time units, or else seconds)Time reference system nameTime unit nameTime reference direction for given column index, e.g.Pointer to time reference directionTime reference locationTime reference location for given column index.The start time of the observation, in the format specified in the FITS Standard, as decimal or in the format HH:MM:SS[.s...]'.The end time of the observation, in the format specified in the FITS Standard, as decimal or in the format HH:MM:SS[.s...]'.Net exposure duration (in specified time units, or else seconds) -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Solar System ephemeris value forPLEPHEM
for Standish (1990).static final String
Solar System ephemeris value forPLEPHEM
for Standish (1998).static final String
Solar System ephemeris value forPLEPHEM
for Folkner, et al. (2009).static final String
Solar System ephemeris value forPLEPHEM
for Folkner, et al. (2014).static final String
Solar System ephemeris value forPLEPHEM
for Folkner, et al. (2014).static final String
Solar System ephemeris value forPLEPHEM
for Folkner, et al. (2014).static final String
Solar System ephemeris value forPLEPHEM
for Park, et al. (2021).static final String
Solar System ephemeris value forPLEPHEM
for Park, et al. (2021).static final String
Ephemeris Time (ET) timescale value.static final String
Deprecated.static final String
Global Positioning System (GPS) time timescale value.static final String
Deprecated.Deprecated by the FITS standard, useTIMESYS_TAI
instead.static final String
Local time timescale value for free-running clocks.static final String
International Atomic Time (TAI) timescale value.static final String
Barycentric Coordinated Time (TCB) timescale value.static final String
Geocentric Coordinated Time (TCG) timescale value.static final String
Barycentric Dynamical Time (TDB) timescale value.static final String
Terrestrial Dynamical Time (TDT) timescale value.static final String
Terrestrial Time (TT) timescale value.static final String
Earth rotation time (UT1) timescale value.static final String
Universal Coordinated Time (UTC) timescale value.static final String
Time unit value for time measured in Besselian years (essentially the same asTIMEUNIT_TROPICAL_YEAR
)static final String
Time unit value for time measured in daysstatic final String
Time unit value for time measured in hoursstatic final String
Time unit value for time measured in seconds (1 cy = 36525 d)static final String
Time unit value for time measured in Julian years (1 a = 365.25 d)static final String
Time unit value for time measured in minutesstatic final String
Time unit value for time measured in secondsstatic final String
Time unit value for time measured in tropical years (1 ta ~ 365.2421988 d)static final String
Time unit value for time measured in Julian years (same asTIMEUNIT_JULIAN_YEAR
)static final String
Barycentric (Solar-system) time reference positionstatic final String
Topocentric time reference position that is not the observatory locationstatic final String
Earth-Moon barycenter time reference positionstatic final String
Galactocentric time reference positionstatic final String
Geocentric time reference positionstatic final String
Helioentric time reference positionstatic final String
Time reference position at the center of Jupiterstatic final String
Time reference position at the center of Marsstatic final String
Time reference position at the center of Mercurystatic final String
Time reference position at the center of Neptunestatic final String
Relocatable time reference position (for simulations only)static final String
Time reference position at the center of Saturnstatic final String
Topocentric time reference positionstatic final String
Time reference position at the center of Uranusstatic final String
Time reference position at the center of VenusFields inherited from interface nom.tam.fits.header.IFitsHeader
MAX_INDEX
-
Method Summary
Modifier and TypeMethodDescriptionfinal FitsKey
impl()
(primarily for internal use) Returns the concrete implementation of this header entry, which provides implementation of access methods.static DateTime
Returns the enum constant of this type with the specified name.static DateTime[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface nom.tam.fits.header.IFitsHeader
comment, extractIndices, hdu, key, n, status, valueType
-
Enum Constant Details
-
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
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
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
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
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
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
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
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
[day] Modified Julian Date of observation- Since:
- 1.19
-
MJDOBn
[day] Modified Julian Date of observation for the given column index- Since:
- 1.19
-
MJD_AVG
[day] Average Modified Julian Date of observation- Since:
- 1.19
-
MJDAn
[day] Average Modified Julian Date of observation for the given column index- Since:
- 1.19
-
MJD_BEG
[day] Modified Julian Date of the start of observation- Since:
- 1.19
-
MJD_END
[day] Average Modified Julian Date of the end of observation- Since:
- 1.19
-
MJDREF
[day] Reference Modified Julian Date- Since:
- 1.19
-
JDREF
[day] Reference Julian Date- Since:
- 1.19
-
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
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
[yr] Besselian epoch of observation- Since:
- 1.19
-
JEPOCH
[yr] Julian epoch of observation- Since:
- 1.19
-
XPOSURE
Net exposure duration (in specified time units, or else seconds)- Since:
- 1.19
-
TELAPSE
Wall clock exposure duration (in specified time units, or else seconds)- Since:
- 1.19
-
TIMESYS
Time reference system name- Since:
- 1.19
-
TREFPOS
Time reference location- Since:
- 1.19
-
TRPOSn
Time reference location for given column index.- Since:
- 1.19
-
TREFDIR
Pointer to time reference direction- Since:
- 1.19
-
TRDIRn
Time reference direction for given column index, e.g. 'TOPOCENT'- Since:
- 1.19
-
PLEPHEM
Solar system ephemeris used, e.g. 'DE-405'.- Since:
- 1.19
-
TIMEUNIT
Time unit name- Since:
- 1.19
-
TIMEOFFS
Precision time offset (in specified time units, or else seconds)- Since:
- 1.19
-
TIMESYER
Systematic time error (in specified time units, or else seconds)- Since:
- 1.19
-
TIMERDER
Random time error (in specified time units, or else seconds)- Since:
- 1.19
-
TIMEDEL
Time resolution (in specified time units, or else seconds)- Since:
- 1.19
-
TIMEPIXR
Time location within pixel, between 0.0 and 1.0 (default 0.5).- Since:
- 1.19
-
-
Field Details
-
TIMESYS_TAI
International Atomic Time (TAI) timescale value.- See Also:
-
TIMESYS_TT
Terrestrial Time (TT) timescale value.- See Also:
-
TIMESYS_TDT
Terrestrial Dynamical Time (TDT) timescale value.- See Also:
-
TIMESYS_ET
Ephemeris Time (ET) timescale value.- See Also:
-
TIMESYS_IAT
Deprecated.Deprecated by the FITS standard, useTIMESYS_TAI
instead.- See Also:
-
TIMESYS_UT1
Earth rotation time (UT1) timescale value.- See Also:
-
TIMESYS_UTC
Universal Coordinated Time (UTC) timescale value.- See Also:
-
TIMESYS_GMT
Deprecated.Greenwich Mean time (GMT) timescale value; deprecated by the FITS standard, useTIMESYS_UTC
instead.- See Also:
-
TIMESYS_GPS
Global Positioning System (GPS) time timescale value.- See Also:
-
TIMESYS_TCG
Geocentric Coordinated Time (TCG) timescale value.- See Also:
-
TIMESYS_TCB
Barycentric Coordinated Time (TCB) timescale value.- See Also:
-
TIMESYS_TDB
Barycentric Dynamical Time (TDB) timescale value.- See Also:
-
TIMESYS_LOCAL
Local time timescale value for free-running clocks.- See Also:
-
TREFPOS_TOPOCENTER
Topocentric time reference position- See Also:
-
TREFPOS_GEOCENTER
Geocentric time reference position- See Also:
-
TREFPOS_BARYCENTER
Barycentric (Solar-system) time reference position- See Also:
-
TREFPOS_RELOCATABLE
Relocatable time reference position (for simulations only)- See Also:
-
TREFPOS_CUSTOM
Topocentric time reference position that is not the observatory location- See Also:
-
TREFPOS_HELIOCENTER
Helioentric time reference position- See Also:
-
TREFPOS_GALACTIC
Galactocentric time reference position- See Also:
-
TREFPOS_EMBARYCENTER
Earth-Moon barycenter time reference position- See Also:
-
TREFPOS_MERCURY
Time reference position at the center of Mercury- See Also:
-
TREFPOS_VENUS
Time reference position at the center of Venus- See Also:
-
TREFPOS_MARS
Time reference position at the center of Mars- See Also:
-
TREFPOS_JUPITER
Time reference position at the center of Jupiter- See Also:
-
TREFPOS_SATURN
Time reference position at the center of Saturn- See Also:
-
TREFPOS_URANUS
Time reference position at the center of Uranus- See Also:
-
TREFPOS_NEPTUNE
Time reference position at the center of Neptune- See Also:
-
PLEPHEM_DE200
Solar System ephemeris value forPLEPHEM
for Standish (1990).- See Also:
-
PLEPHEM_DE405
Solar System ephemeris value forPLEPHEM
for Standish (1998). Default- See Also:
-
PLEPHEM_DE421
Solar System ephemeris value forPLEPHEM
for Folkner, et al. (2009).- See Also:
-
PLEPHEM_DE430
Solar System ephemeris value forPLEPHEM
for Folkner, et al. (2014).- See Also:
-
PLEPHEM_DE431
Solar System ephemeris value forPLEPHEM
for Folkner, et al. (2014).- See Also:
-
PLEPHEM_DE432
Solar System ephemeris value forPLEPHEM
for Folkner, et al. (2014).- See Also:
-
PLEPHEM_DE440
Solar System ephemeris value forPLEPHEM
for Park, et al. (2021).- See Also:
-
PLEPHEM_DE441
Solar System ephemeris value forPLEPHEM
for Park, et al. (2021).- See Also:
-
TIMEUNIT_SECOND
Time unit value for time measured in seconds- See Also:
-
TIMEUNIT_DAY
Time unit value for time measured in days- See Also:
-
TIMEUNIT_JULIAN_YEAR
Time unit value for time measured in Julian years (1 a = 365.25 d)- See Also:
-
TIMEUNIT_JULIAN_CENTURY
Time unit value for time measured in seconds (1 cy = 36525 d)- See Also:
-
TIMEUNIT_MINUTE
Time unit value for time measured in minutes- See Also:
-
TIMEUNIT_HOUR
Time unit value for time measured in hours- See Also:
-
TIMEUNIT_YEAR
Time unit value for time measured in Julian years (same asTIMEUNIT_JULIAN_YEAR
)- See Also:
-
TIMEUNIT_TROPICAL_YEAR
Time unit value for time measured in tropical years (1 ta ~ 365.2421988 d)- See Also:
-
TIMEUNIT_BESSELIAN_YEAR
Time unit value for time measured in Besselian years (essentially the same asTIMEUNIT_TROPICAL_YEAR
)- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
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 interfaceIFitsHeader
- Returns:
- the implementation of this keyword, which provides the actual access methods. Implementations of this interface should simply return themselves.
-
TIMESYS_UTC
instead.