diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-05 16:35:34 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-05 16:35:34 +0000 |
| commit | 6c5e5435d105685a537561ca0e6a223d34af85e1 (patch) | |
| tree | b2415a607f5fdaadc4a37edb7e7a68a5ef0bc7cc /src/metric_time.h | |
| parent | 095dcf9a0fb075ca84537beff2fe6a41c837e8da (diff) | |
Support for conversions of things that have multiple representations.
Diffstat (limited to 'src/metric_time.h')
| -rw-r--r-- | src/metric_time.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/metric_time.h b/src/metric_time.h index 5a35176..4cea7f7 100644 --- a/src/metric_time.h +++ b/src/metric_time.h @@ -33,6 +33,11 @@ public: {} MetricTime (int h, int m, int s, int ms); + + int hours () const; + int minutes () const; + int seconds () const; + int milliseconds () const; private: friend bool operator== (MetricTime const & a, MetricTime const & b); |
