465 {
return (lh.operator
Double() == rh.operator
Double());}
friend ostream & operator<<(ostream &os, const MVTime &meas)
Output a date/time.
MVTime()
Default constructor: generate a zero value.
const String & monthName() const
static MVTime::formatTypes giveMe(const String &in)
Get code belonging to string.
static Format getFormat()
Get default format.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
static functions and enumerations
Pointed String class to aid analysis of quantity strings.
bool operator==(const casacore_allocator< T, ALIGNMENT > &, const casacore_allocator< T, ALIGNMENT > &)
uInt month() const
Jan =1.
Double day() const
Get value of date/time (MJD) in given units.
static Double timeZone()
Get time zone offset (in days)
const String & dayName() const
Get indicated part of the time/date.
static Format setFormat(MVTime::formatTypes intyp, uInt inprec=0)
Set default format Warning: It is thread-unsafe to print using the setFormat functions because they ...
MVTime & operator=(const MVTime &other)
Copy assignment.
date and time enquiry functions, with some operations.
static Bool read(Quantity &res, const String &in, Bool chk=True)
Make res time Quantity from string.
bool Bool
Define the standard types used by Casacore.
static MVTime::Format interimFormat
Temporary format.
void print(ostream &oss, const MVTime::Format &form) const
String string() const
Output data.
A class for high precision time.
String: the storage and methods of handling collections of characters.
static MVTime::Format defaultFormat
Default format.
AipsIO & operator>>(AipsIO &os, Record &rec)
friend istream & operator>>(istream &is, MVTime &meas)
Input a date/time.
Class to handle date/time type conversions and I/O.
uInt weekday() const
Mon = 1; Sun = 7;.