![]() |
VieSched++
VieVS VLBI Scheduling Software
|
This class holds importang time information. More...
#include <TimeSystem.h>
Static Public Member Functions | |
static double | mjd2gmst (double mjd) |
transforms modified julian date to Greenwich mean sidereal time More... | |
static std::string | time2string (const boost::posix_time::ptime &ptime) |
converts datetime to string More... | |
static std::string | time2string (unsigned int time) |
converts internal time to string More... | |
static std::string | time2string_units (const boost::posix_time::ptime &ptime) |
converts datetime to string More... | |
static std::string | time2string_units (unsigned int time) |
converts internal time to string More... | |
static std::string | time2string_doy (const boost::posix_time::ptime &ptime) |
converts datetime to string More... | |
static std::string | time2string_doy (unsigned int time) |
converts internal time to string More... | |
static std::string | time2string_doy_minus (const boost::posix_time::ptime &ptime) |
convert datetime to string More... | |
static std::string | time2string_doy_minus (unsigned int time) |
convert internal time to string More... | |
static std::string | time2string_doySkdDowntime (const boost::posix_time::ptime &ptime) |
converts datetime to string More... | |
static std::string | time2string_doySkdDowntime (unsigned int time) |
converts internal time to string More... | |
static std::string | time2string_ast (const boost::posix_time::ptime &ptime) |
converts datetime to string More... | |
static std::string | time2string_ast (unsigned int time) |
converts internal time to string More... | |
static std::string | time2string_doy_units (const boost::posix_time::ptime &ptime) |
converts datetime to string More... | |
static std::string | time2string_doy_units (unsigned int time) |
converts internal time to string More... | |
static std::string | time2date (const boost::posix_time::ptime &ptime) |
converts datetime to string More... | |
static std::string | time2date (unsigned int time) |
converts internal time to string More... | |
static std::string | time2timeOfDay (const boost::posix_time::ptime &ptime) |
converts datetime to string More... | |
static std::string | time2timeOfDay (unsigned int time) |
converts internal time to string More... | |
static boost::posix_time::ptime | internalTime2PosixTime (unsigned int time) |
internal time format to datetime More... | |
static unsigned int | posixTime2InternalTime (const boost::posix_time::ptime &ptime) |
converts time to internal time format More... | |
static boost::posix_time::ptime | string_doy2ptime (std::string input) |
convert string to datetime More... | |
static boost::posix_time::ptime | string2ptime (std::string input) |
convert string to datetime More... | |
Static Public Attributes | |
static double | mjdStart = 0 |
modified julian date of session start More... | |
static boost::posix_time::ptime | startTime = boost::posix_time::ptime() |
session start time More... | |
static boost::posix_time::ptime | endTime = boost::posix_time::ptime() |
session end time More... | |
static unsigned int | duration = 0 |
session duration in seconds More... | |
This class holds importang time information.
|
static |
internal time format to datetime
time | target internal time |
|
static |
transforms modified julian date to Greenwich mean sidereal time
mjd | modified julian date |
|
static |
converts time to internal time format
ptime | target datetime |
|
static |
convert string to datetime
input format: yyyyMMddhhmmss yyyy: year MM: month dd: day hh: hour mm: minute ss: second
input | input string |
|
static |
convert string to datetime
input format: yydoyhhmmss or yyyydoyhhmmss yy, yyyy: year doy: day of year hh: hour mm: minute ss: second
input | input string |
|
static |
converts datetime to string
three character month string is used example output: 18JAN01
ptime | target datetime |
|
inlinestatic |
converts internal time to string
three character month string is used example output: 18JAN01
time | target time in seconds from session start |
|
static |
converts datetime to string
example output: 2018.01.01 00:00:00
ptime | target datetime |
|
inlinestatic |
converts internal time to string
example output: 2018.01.01 00:00:00
time | target time in seconds from session start |
|
static |
converts datetime to string
instead of month and day the day of year is used example output: 2018.01.01-00:00:00.0
ptime | target datetime |
|
inlinestatic |
converts internal time to string
instead of month and day the day of year is used example output: 2018-001-00:00:00
time | target time in seconds from session start |
|
static |
converts datetime to string
instead of month and day the day of year is used example output: 18001000000
ptime | target datetime |
|
inlinestatic |
converts internal time to string
instead of month and day the day of year is used example output: 18001000000
time | target time in seconds from session start |
|
static |
convert datetime to string
example output: 18001-000000
ptime | target datetime |
|
inlinestatic |
convert internal time to string
example output: 18001-000000
time | target time in seconds from session start |
|
static |
converts datetime to string
instead of month and day the day of year is used example output: 2018y001d00h00m00s
ptime | target datetime |
|
inlinestatic |
converts internal time to string
instead of month and day the day of year is used example output: 2018y001d00h00m00s
time | target time in seconds from session start |
|
static |
converts datetime to string
instead of month and day the day of year is used example output: 2018-001-00:00:00
ptime | target datetime |
|
inlinestatic |
converts internal time to string
instead of month and day the day of year is used example output: 2018-001-00:00:00
time | target time in seconds from session start |
|
static |
converts datetime to string
example output: 2018y01m01d00h00m00s
ptime | target datetime |
|
inlinestatic |
converts internal time to string
example output: 2018y01m01d00h00m00s
time | target time in seconds from session start |
|
static |
converts datetime to string
example output: 00:00:00
ptime | target datetime |
|
inlinestatic |
converts internal time to string
example output: 00:00:00
time | target time in seconds from session start |
|
static |
session duration in seconds
|
static |
session end time
|
static |
modified julian date of session start
|
static |
session start time