nanoric
66a5aa482e
Add constexpr for clock_cast.
2020-01-11 14:44:06 -05:00
Howard Hinnant
8f91ef27ed
Revert "Model the TAI-UTC difference between 1961 and 1972"
...
This reverts commit 1eed461d06b02854d9310d5ab0198eccd2be1d1d.
2018-11-08 13:56:23 -08:00
Howard Hinnant
1eed461d06
Model the TAI-UTC difference between 1961 and 1972
2018-10-03 17:51:55 -04:00
tomaszkam
e86edc3820
Added missing license to unit test files ( #356 )
2018-06-23 10:39:00 -04:00
tomaszkam
af2b2b70b3
Remove usage of octal literals in tests ( #350 )
...
* Remove usage of octal literals
* Fixed July
2018-06-12 13:18:18 -04:00
Howard Hinnant
0197889505
Update to Sunday constants
2018-06-11 15:14:44 -04:00
Tomasz Kamiński
b86def339e
Test for utc during leap second insertion
2018-06-11 10:45:41 -04:00
Tomasz Kamiński
aa0494b980
custom clock and noncastable tests
2018-06-11 10:45:41 -04:00
Tomasz Kamiński
df31560701
Moved test to clock_cast_test dir
2018-06-11 10:45:41 -04:00
Tomasz Kamiński
328cecaa56
Fixed addition of multi-year duration to year_month.
...
* Added new overloads for operator+/- between year_month and duration
that is convertible to years, so it is better candidate for operands
that are convertible to both years and months. To preserve
functionality, this operator is conditionally noexcept.
* Reworked year_month_day, year_month_day_last, year_month_weekday,
and year_month_weekday_last.
* Added tests for this new functionality.
2018-05-12 18:21:24 -04:00
Tomasz Kamiński
543315b700
Reversed order of arguments to clock_time_conversion.
...
Now the order of argument matches the clock_cast function.
The test only is_clock_castable trait still matches is_convertible
order of arguments.
2017-11-26 13:50:21 -05:00
Tomasz Kamiński
dd91be668e
Added deprecated functions test for real
2017-11-24 23:42:18 +01:00
Tomasz Kamiński
b13c859ff1
Restored deprecated to_clock_time function.
...
Fixed the to_utc_time(const gps_time<Duration>& t) function
to correctly use clock_cast<utc_time>.
Added test to deprecated functions.
2017-11-24 23:37:32 +01:00
Tomasz Kamiński
9910f5fcc3
Moved clock_cast test to separate dir.
...
Fixed naqme of the to_sys_return_reference test, so it
is invoked.
2017-11-24 22:30:54 +01:00