Go to the documentation of this file.
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Quanta/Quantum.h>
35 #include <casacore/casa/iosfwd.h>
466 {
return (lh.operator
Double() == rh.operator
Double());}
MVTime & operator=(const MVTime &other)
Copy assignment.
const String & monthName() const
static MVTime::formatTypes giveMe(const String &in)
Get code belonging to string.
date and time enquiry functions, with some operations.
Class to handle date/time type conversions and I/O.
Double day() const
Get value of date/time (MJD) in given units.
void print(ostream &oss, const MVTime::Format &form) const
String string() const
Output data.
AipsIO & operator>>(AipsIO &os, Record &rec)
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 ...
bool operator==(const casacore_allocator< T, ALIGNMENT > &, const casacore_allocator< T, ALIGNMENT > &)
static functions and enumerations
static Bool read(Quantity &res, const String &in, Bool chk=True)
Make res time Quantity from string.
static Double timeZone()
Get time zone offset (in days)
const String & dayName() const
Get indicated part of the time/date.
static MVTime::Format interimFormat
Temporary format.
friend ostream & operator<<(ostream &os, const MVTime &meas)
Output a date/time.
this file contains all the compiler specific defines
A class for high precision time.
MVTime()
Default constructor: generate a zero value.
Pointed String class to aid analysis of quantity strings.
uInt weekday() const
Mon = 1; Sun = 7;.
static Format getFormat()
Get default format.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
uInt month() const
Jan =1.
static MVTime::Format defaultFormat
Default format.
friend istream & operator>>(istream &is, MVTime &meas)
Input a date/time.