NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <tz_private.h>
Classes | |
struct | pair |
union | U |
Public Member Functions | |
MonthDayTime ()=default | |
MonthDayTime (local_seconds tp, tz timezone) | |
MonthDayTime (const date::month_day &md, tz timezone) | |
date::day | day () const |
date::month | month () const |
tz | zone () const |
void | canonicalize (date::year y) |
sys_seconds | to_sys (date::year y, std::chrono::seconds offset, std::chrono::seconds save) const |
sys_days | to_sys_days (date::year y) const |
sys_seconds | to_time_point (date::year y) const |
int | compare (date::year y, const MonthDayTime &x, date::year yx, std::chrono::seconds offset, std::chrono::minutes prev_save) const |
Private Types | |
enum | Type { month_day , month_last_dow , lteq , gteq } |
Private Attributes | |
Type | type_ {month_day} |
union date::detail::MonthDayTime::U | u |
std::chrono::hours | h_ {0} |
std::chrono::minutes | m_ {0} |
std::chrono::seconds | s_ {0} |
tz | zone_ {tz::local} |
Friends | |
std::istream & | operator>> (std::istream &is, MonthDayTime &x) |
std::ostream & | operator<< (std::ostream &os, const MonthDayTime &x) |
Definition at line 53 of file tz_private.h.
|
private |
Enumerator | |
---|---|
month_day | |
month_last_dow | |
lteq | |
gteq |
Definition at line 69 of file tz_private.h.
|
default |
date::detail::MonthDayTime::MonthDayTime | ( | local_seconds | tp, |
tz | timezone | ||
) |
date::detail::MonthDayTime::MonthDayTime | ( | const date::month_day & | md, |
tz | timezone | ||
) |
void date::detail::MonthDayTime::canonicalize | ( | date::year | y | ) |
Definition at line 925 of file tz.cpp.
Referenced by date::time_zone::parse_info().
int date::detail::MonthDayTime::compare | ( | date::year | y, |
const MonthDayTime & | x, | ||
date::year | yx, | ||
std::chrono::seconds | offset, | ||
std::chrono::minutes | prev_save | ||
) | const |
Definition at line 814 of file tz.cpp.
References date::abs(), date::detail::local, date::detail::standard, to_sys_days(), to_time_point(), date::detail::utc, and zone_.
Referenced by date::find_rule_for_zone().
date::day date::detail::MonthDayTime::day | ( | ) | const |
Definition at line 782 of file tz.cpp.
References date::month_day::day(), and date::day::day().
Referenced by date::detail::operator<<().
date::month date::detail::MonthDayTime::month | ( | ) | const |
Definition at line 798 of file tz.cpp.
References date::month_day::month(), and date::month::month().
sys_seconds date::detail::MonthDayTime::to_sys | ( | date::year | y, |
std::chrono::seconds | offset, | ||
std::chrono::seconds | save | ||
) | const |
Definition at line 856 of file tz.cpp.
References date::detail::local, and date::detail::standard.
Referenced by date::find_rule().
date::sys_days date::detail::MonthDayTime::to_sys_days | ( | date::year | y | ) | const |
sys_seconds date::detail::MonthDayTime::to_time_point | ( | date::year | y | ) | const |
|
inline |
Definition at line 110 of file tz_private.h.
References zone_.
|
friend |
|
friend |
|
private |
Definition at line 98 of file tz_private.h.
Referenced by MonthDayTime(), date::detail::operator<<(), and date::detail::operator>>().
|
private |
Definition at line 99 of file tz_private.h.
Referenced by MonthDayTime(), date::detail::operator<<(), and date::detail::operator>>().
|
private |
Definition at line 100 of file tz_private.h.
Referenced by MonthDayTime(), date::detail::operator<<(), and date::detail::operator>>().
Definition at line 71 of file tz_private.h.
Referenced by date::detail::operator<<(), and date::detail::operator>>().
|
private |
Referenced by MonthDayTime(), date::detail::operator<<(), and date::detail::operator>>().
Definition at line 101 of file tz_private.h.
Referenced by compare(), date::detail::operator<<(), date::detail::operator>>(), and zone().