acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
earth::zone_time Class Reference
Inheritance diagram for earth::zone_time:
earth::time posix_time

Public Member Functions

 zone_time (const zone_time &zonetime) noexcept
 zone_time (posix_time zonetime, class ::time timeshift) noexcept
 zone_time (::i32 nYear, ::i32 nMonth, ::i32 nDay, ::i32 nHour, ::i32 nMin, ::i32 nSec, ::i32 iZoneOffset)
::earth::gregorian_time get_zone_time () const
::i32 GetZoneYear () const noexcept
::i32 GetZoneMonth () const noexcept
::i32 GetZoneDay () const noexcept
::i32 GetZoneHour () const noexcept
::i32 GetZoneMinute () const noexcept
::i32 GetZoneSecond () const noexcept
::i32 GetZoneDayOfWeek () const noexcept
posix_time GetZoneTimeOfDay () const noexcept
::i64 GetZoneDaySig () const noexcept
string FormatZone (string &str, const ::scoped_string &scopedstrFormat) const
string FormatZone (const ::scoped_string &scopedstrFormat)
Public Member Functions inherited from earth::time
 time (now_t) noexcept
constexpr time (const posix_time &time) noexcept
 time (::i32 nYear, ::i32 nMonth, ::i32 nDay, ::i32 nHour, ::i32 nMin, ::i32 nSec, const class ::time &timeshift={})
 time (const release_time_for_project &release_time_for_project)
 time (const ::earth::gregorian_time &gregoriantime, const class ::time &timeshift={})
 time (const file_time &filetime, const class ::time &timeshift={})
 time (const ::system_time &systemtime, const class ::time &timeshift={})
void Now ()
void Null ()
constexpr time & operator= (const time &time) noexcept
bool is_null_or_positive () const
bool is_positive () const
time & operator+= (date_span span)
time & operator-= (date_span span)
constexpr time & operator+= (time_span span) noexcept
constexpr time & operator-= (time_span span) noexcept
constexpr class ::time operator% (class ::time &time) const noexcept
constexpr time_span operator- (time time) const noexcept
constexpr time operator- (time_span span) const noexcept
constexpr time operator+ (time_span span) const noexcept
time operator- (date_span span) const
time operator+ (date_span span) const
constexpr time operator+ (class ::time &time) const
constexpr bool operator== (time time) const noexcept
constexpr ::std::strong_ordering operator<=> (::earth::time time) const noexcept
posix_time get_time () const noexcept
::i32 year (const class ::time &timeshift={}) const noexcept
::i32 month (const class ::time &timeshift={}) const noexcept
::i32 day (const class ::time &timeshift={}) const noexcept
::i32 hour (const class ::time &timeshift={}) const noexcept
::i32 minute (const class ::time &timeshift={}) const noexcept
::i32 second (const class ::time &timeshift={}) const noexcept
::i32 day_of_week (const class ::time &timeshift={}) const noexcept
time get_sunday (const class ::time &timeshift={}) const
posix_time time_of_day (const class ::time &timeshift={}) const noexcept
::i64 day_sig (const class ::time &timeshift={}) const noexcept
time_span elapsed () const
time_span abs_diff (const ::earth::time &time) const
bool operator== (const class ::time &time) const
::std::strong_ordering operator<=> (const class ::time &time) const
::i64 total_minutes (const class ::time &timeshift={}) const noexcept
Public Member Functions inherited from posix_time
constexpr posix_time (no_initialize_t)
constexpr posix_time (zero_t)
template<prototype_integral INTEGRAL>
constexpr posix_time (posix_time_t, INTEGRAL iSecond)
constexpr posix_time (const posix_time &)=default
 posix_time (const ::file_time &pfile_time, ::i32 nDST=-1)
 posix_time (const system_time &systemtime, ::i32 nDST=-1)
 posix_time (const ::earth::gregorian_time &gregoriantime)
 posix_time (now_t)
constexpr posix_time operator+ (posix_time posixtime) const
constexpr posix_time operator- (posix_time posixtime) const
constexpr posix_time & operator+= (posix_time posixtime)
constexpr posix_time & operator-= (posix_time posixtime)
constexpr posix_time & operator= (const posix_time &posixtime)
template<prototype_integral INTEGRAL>
constexpr posix_time & operator*= (INTEGRAL i)
template<prototype_integral INTEGRAL>
constexpr posix_time & operator/= (INTEGRAL i)
template<prototype_integral INTEGRAL>
constexpr posix_time & operator%= (INTEGRAL i)
template<prototype_integral INTEGRAL>
constexpr posix_time operator* (INTEGRAL i) const
template<prototype_integral INTEGRAL>
constexpr posix_time operator/ (INTEGRAL i) const
template<prototype_integral INTEGRAL>
constexpr posix_time operator% (INTEGRAL i) const
bool operator== (const ::posix_time &time) const
std::strong_ordering operator<=> (const ::posix_time &time) const
constexpr ::i64 minutes () const
constexpr ::i64 hours () const
constexpr ::i64 days () const

Static Public Member Functions

static zone_time get_current_time (class ::time timeshift) noexcept
Static Public Member Functions inherited from earth::time
static time now () noexcept
static time now (const class ::time &timeshift) noexcept
static time midnight (const class ::time &timeshift={}) noexcept
static time midnight (const ::earth::time &time, const class ::time &timeshift={}) noexcept
Static Public Member Functions inherited from posix_time
static posix_time now ()

Public Attributes

class::time m_timeshift
Public Attributes inherited from posix_time
::i64 m_iSecond

The documentation for this class was generated from the following files:
  • prototype/datetime/earth_zone_time.h
  • operating_system/shared_posix/time.cpp
  • prototype/datetime/earth_zone_time.cpp