summaryrefslogtreecommitdiff
path: root/src/local_time.cc
AgeCommit message (Collapse)Author
2024-02-09Fix use of Z as a timezone (meaning UTC).v1.8.95Carl Hetherington
2024-02-09Cleanup: remove unnecessary clearing of 0-init-ed UTCOffset.Carl Hetherington
2023-08-15Fix dcp::LocalTime constructor to cope with longer fractional second parts ↵Carl Hetherington
(DoM #2597).
2023-02-02Add with_timezone parameter to ::to_string().Carl Hetherington
2023-01-19Add some more operators to LocalTime.Carl Hetherington
2022-12-30Change the behaviour of LocalTime::operator== to make the same time in ↵v1.8.49Carl Hetherington
different time zones equal. Previously different offsets would mean that the times compared as not-equal.
2022-12-30Fix LocalTime::operator< and operator> to handle offset gracefully.Carl Hetherington
2022-12-30Fix some embarassing bugs in dcp::LocalTime comparisons.Carl Hetherington
2022-12-13Add missing operator.Carl Hetherington
2022-12-13Add assert to make sure we're not comparing times wrongly.Carl Hetherington
2022-12-13Add LocalTime::add().Carl Hetherington
2022-12-13Add UTCOffset class.Carl Hetherington
2022-02-12Cleanup: use dcp::LocalTime for certificate validity times.Carl Hetherington
Before we were using struct tm but not filling it all in, which seems quite unpleasant.
2021-01-24Tidying.Carl Hetherington
2020-05-20Add add_days to LocalTime.Carl Hetherington
2020-05-12Make add_minutes() work correctly with milliseconds.Carl Hetherington
2020-05-12Add a proper implementation of add_months() and a test for theCarl Hetherington
case when it fails by giving erroneous dates like 30th February.
2020-03-11Fix ::add_minutes to not alter the timezone of the time it's called on.Carl Hetherington
2020-03-10Add LocalTime::add_minutes.Carl Hetherington
2019-12-23Add struct tm constructor for LocalTime, use it to tidy upCarl Hetherington
day_{greater,less}_than_or_equal and add add_months() method.
2019-11-08Fix incorrect LocalTime strings when timezone is behind UTC and not an ↵Carl Hetherington
integer number of hours.
2018-09-14Add operator< for LocalTime.Carl Hetherington
2017-05-15Add ::time_of_day without seconds.Carl Hetherington
2016-10-24Allow LocalTime without a timezone offset.Carl Hetherington
2016-06-13Add OpenSSL licence exception.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2016-05-25No-op; Fix GPL address and mention libdcp by name.Carl Hetherington
2016-03-05Add new LocalTime constructor.Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-08Expand read_smpte_subtitle_test somewhat.Carl Hetherington
2015-06-04Support optional milliseconds in LocalTime.Carl Hetherington
2015-06-02No-op; comments.Carl Hetherington
2015-04-30Fix incorrect day-of-month in LocalTime.Carl Hetherington
2014-05-16Hand-merge changes from master (110dc70..979739e)Carl Hetherington
2014-03-20Tweaks to LocalTime; build/install fixes.Carl Hetherington
2014-03-19Considerable re-work of KDM class to express the difference between ↵Carl Hetherington
encrypted and unencrypted KDMs.