#include "julian-date.h"
Public Types | |
enum | TimeSystem { UTC , UT1 , TAI , TT , GPST , POSIX } |
Public Attributes | |
uint32_t | day |
uint32_t | hours |
uint32_t | millisecs |
uint32_t | minutes |
uint32_t | month |
uint32_t | seconds |
TimeSystem | time_system |
uint32_t | year |
Friends | |
std::ostream & | operator<< (std::ostream &os, DateTime::TimeSystem ts) |
The DateTime struct.
Struct used for simplifying the conversion between Gregorian and Julian dates, and also to enumerate the available time systems.
Definition at line 45 of file julian-date.h.
Definition at line 47 of file julian-date.h.
|
friend |
Definition at line 59 of file julian-date.cc.
uint32_t ns3::DateTime::day |
Definition at line 57 of file julian-date.h.
Referenced by ns3::JulianDate::GregorianDate(), ns3::JulianDate::SetDate(), and ns3::JulianDate::ToString().
uint32_t ns3::DateTime::hours |
Definition at line 58 of file julian-date.h.
Referenced by ns3::JulianDate::GregorianDate(), ns3::JulianDate::SetDate(), and ns3::JulianDate::ToString().
uint32_t ns3::DateTime::millisecs |
Definition at line 58 of file julian-date.h.
Referenced by ns3::JulianDate::GregorianDate(), ns3::JulianDate::SetDate(), and ns3::JulianDate::ToString().
uint32_t ns3::DateTime::minutes |
Definition at line 58 of file julian-date.h.
Referenced by ns3::JulianDate::GregorianDate(), ns3::JulianDate::SetDate(), and ns3::JulianDate::ToString().
uint32_t ns3::DateTime::month |
Definition at line 57 of file julian-date.h.
Referenced by ns3::JulianDate::GregorianDate(), ns3::JulianDate::SetDate(), and ns3::JulianDate::ToString().
uint32_t ns3::DateTime::seconds |
Definition at line 58 of file julian-date.h.
Referenced by ns3::JulianDate::GregorianDate(), ns3::JulianDate::SetDate(), and ns3::JulianDate::ToString().
TimeSystem ns3::DateTime::time_system |
Definition at line 59 of file julian-date.h.
uint32_t ns3::DateTime::year |
Definition at line 57 of file julian-date.h.
Referenced by ns3::JulianDate::GregorianDate(), ns3::JulianDate::SetDate(), and ns3::JulianDate::ToString().