diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-01 21:47:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-13 21:57:52 +0100 |
| commit | cd2583f7c06af46cec9cf205d3822194a33b6abc (patch) | |
| tree | 50286fbbd3e9bb6a2ed423516875c70cdcdf89fb | |
| parent | 71dc0132d52f476f929ef222a3264dd9fc7e04a4 (diff) | |
Add some more setters.v1.8.392300-kdm-timing
| -rw-r--r-- | src/local_time.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/local_time.h b/src/local_time.h index 9a19b2d5..7c4e2f8a 100644 --- 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); |
