33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/Quanta/Quantum.h> 35 #include <casacore/casa/iosfwd.h> 457 {
return (lh.operator
Double() == rh.operator
Double());}
friend ostream & operator<<(ostream &os, const MVTime &meas)
Output a date/time.
bool operator==(const std11_allocator< T > &, const std11_allocator< T > &)
const String & monthName() const
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.
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.
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;.
this file contains all the compiler specific defines