projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71dc013
)
Add some more setters.
2300-kdm-timing
v1.8.39
author
Carl Hetherington
<cth@carlh.net>
Thu, 1 Dec 2022 20:47:43 +0000
(21:47 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 13 Dec 2022 20:57:52 +0000
(21:57 +0100)
src/local_time.h
patch
|
blob
|
history
diff --git
a/src/local_time.h
b/src/local_time.h
index 9a19b2d5e0a5d2bb9938d5868750ea0d4038308b..7c4e2f8aa68581bc8ff20c3fe991cb69e6e08ae5 100644
(file)
--- a/
src/local_time.h
+++ b/
src/local_time.h
@@
-122,10
+122,22
@@
public:
return _second;
}
+ void set_day(int d) {
+ _day = d;
+ }
+
+ void set_month(int m) {
+ _month = m;
+ }
+
void set_year (int y) {
_year = y;
}
+ void set_offset(UTCOffset offset) {
+ _offset = offset;
+ }
+
void add_days (int d);
void add_months (int a);
void add_minutes (int a);