FITSUTC.h
1/***************************************************************************
2 *
3 * Copyright (C) 2007 by David Smith
4 * Licensed under the Academic Free License version 2.1
5 *
6 ***************************************************************************/
7
8
9
10
11#ifndef __FITS_UTC_h
12#define __FITS_UTC_h
13
14
15
16#include "MJD.h"
17#include <string>
18#include <iostream>
19
20
21
22
23class FITSUTC : public MJD
24{
25public:
26 FITSUTC() : MJD() {}
27 FITSUTC( const std::string &src );
28 FITSUTC( const MJD &src ) : MJD( src ) {}
29
30 int GrabInt( std::istream &instr, char delim );
31 std::string ToString( void ) const;
32
33 void FromString( const std::string &src );
34};
35
36std::ostream& operator<< (std::ostream& ostr, const FITSUTC& fitsutc );
37
38
39
40#endif
41
Class for representing modified Julian dates with high precision.
Definition MJD.h:23
MJD()
null constructor
Definition MJD.h:42

Generated using doxygen 1.14.0