|
template<typename intermediate_type > |
enable_if< is_integral
< intermediate_type >, bool >
::type | reduce (intermediate_type &r, unsigned long long &den, std::ios_base::iostate &err) |
|
template<typename intermediate_type > |
disable_if< is_integral
< intermediate_type >, bool >
::type | reduce (intermediate_type &, unsigned long long &, std::ios_base::iostate &) |
|
int32_t | is_leap (int32_t year) |
|
int32_t | days_from_0 (int32_t year) |
|
int32_t | days_from_1970 (int32_t year) |
|
int32_t | days_from_1jan (int32_t year, int32_t month, int32_t day) |
|
time_t | internal_timegm (std::tm const *t) |
|
unsigned | days_before_years (int32_t y) |
| from_ymd could be made more efficient by using a table day_count_table indexed by the y%400. More...
|
|
template<class Int > |
void | civil_from_days (Int z, Int &y, unsigned &m, unsigned &d) BOOST_NOEXCEPT |
|
std::tm * | internal_gmtime (std::time_t const *t, std::tm *tm) |
|
template<class CharT , class InputIterator > |
minutes | extract_z (InputIterator &b, InputIterator e, std::ios_base::iostate &err, const std::ctype< CharT > &ct) |
|
unsigned boost::chrono::detail::days_before_years |
( |
int32_t |
y | ) |
|
|
inline |
from_ymd could be made more efficient by using a table day_count_table indexed by the y%400.
This table could contain the day_count by*365 + by/4 - by/100 + by/400
from_ymd = (by/400)*days_by_400_years+day_count_table[by%400] + days_in_year_before[is_leap_table[by%400]][m-1] + d;
Referenced by internal_gmtime().