projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix LocalTime::operator< and operator> to handle offset gracefully.
[libdcp.git]
/
src
/
local_time.h
diff --git
a/src/local_time.h
b/src/local_time.h
index f0fa4b631fb25a38f50dd9495c50cde9f2a7e348..fdb6fc90646bc39988f4ee75bc46b6cd5fc89775 100644
(file)
--- a/
src/local_time.h
+++ b/
src/local_time.h
@@
-162,6
+162,7
@@
private:
void set (struct tm const * tm);
void set (boost::posix_time::ptime);
void set_local_time_zone ();
+ dcp::LocalTime as_utc() const;
/* Local time */
int _year = 0; ///< year