30 #ifndef FITS_FITSDATEUTIL_H
31 #define FITS_FITSDATEUTIL_H
yyyy-mm-ddThh:mm:ss[.ss...]
TableExprNode time(const TableExprNode &node)
OLD if the current year is before 1998 AND "time" is before 1998, otherwise NEW_DATEANDTIME.
static Bool convertDateString(String &out, const String &in)
Convert a FITS Date string to the current format.
static void toFITS(String &date, String ×ys, const MVTime &time, MEpoch::Types system=MEpoch::UTC, DateStyle style=AUTO_PICK, uInt precision=12)
Convert an MVTime to a FITS date string and timesys string.
static uInt findPrecision(const String &fitsDate)
Determine the precision in a FITS date string.
A class with static functions to help deal with FITS dates.
static Bool fromFITS(MVTime &time, MEpoch::Types &system, const String &date, const String ×ys)
Convert a FITS date string and TIMESYS keyword value into an MVTime and system.
bool Bool
Define the standard types used by Casacore.
String: the storage and methods of handling collections of characters.
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
Class to handle date/time type conversions and I/O.
TableExprNode date(const TableExprNode &node)