33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/Quanta/Quantum.h> 35 #include <casacore/casa/iosfwd.h> 461 {
return (lh.operator
Double() == rh.operator
Double());}
uInt month() const
Jan =1.
friend ostream & operator<<(ostream &os, const MVTime &meas)
Output a date/time.
void print(ostream &oss, const MVTime::Format &form) const
uInt weekday() const
Mon = 1; Sun = 7;.
static MVTime::formatTypes giveMe(const String &in)
Get code belonging to string.
static Format getFormat()
Get default format.
static functions and enumerations
Pointed String class to aid analysis of quantity strings.
Double day() const
Get value of date/time (MJD) in given units.
bool operator==(const casacore_allocator< T, ALIGNMENT > &, const casacore_allocator< T, ALIGNMENT > &)
static Double timeZone()
Get time zone offset (in days)
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.
const String & dayName() const
Get indicated part of the time/date.
bool Bool
Define the standard types used by Casacore.
static MVTime::Format interimFormat
Temporary format.
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.
friend istream & operator>>(istream &is, MVTime &meas)
Input a date/time.
Class to handle date/time type conversions and I/O.
const String & monthName() const
this file contains all the compiler specific defines