summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-30 18:10:28 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-30 18:10:28 +0100
commit80975a042167710ae24dca887e1a2ba96fe2ad5e (patch)
tree95d9a6a4501bbe8aa551e15ab8c96861e2ac90b5
parent5b3a20274b3c3c05825a153580aae6a16feecb7d (diff)
Add dcp::LocalTime::millisecond().
-rw-r--r--src/local_time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/local_time.h b/src/local_time.h
index 7c4e2f8a..f0fa4b63 100644
--- a/src/local_time.h
+++ b/src/local_time.h
@@ -122,6 +122,10 @@ public:
return _second;
}
+ int millisecond() const {
+ return _millisecond;
+ }
+
void set_day(int d) {
_day = d;
}