diff options
author | Fritz Elfert <felfert@to.com> | 2002-07-07 13:17:23 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-07-07 13:17:23 +0000 |
commit | 3e81a7442d2e3e6fcc7d6ad2f4f4b7960dd09ecf (patch) | |
tree | 18ca2801576f5ea6a7ee91102177369464785ddb /lib/psitime.h | |
parent | 53e406607d3714d1da6c76e3fb648ba8a640e3ce (diff) | |
download | plptools-3e81a7442d2e3e6fcc7d6ad2f4f4b7960dd09ecf.tar.gz plptools-3e81a7442d2e3e6fcc7d6ad2f4f4b7960dd09ecf.tar.bz2 plptools-3e81a7442d2e3e6fcc7d6ad2f4f4b7960dd09ecf.zip |
- Added comparison operators in PsiTime
- Fixed a typo
Diffstat (limited to 'lib/psitime.h')
-rw-r--r-- | lib/psitime.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/psitime.h b/lib/psitime.h index 605d531..7732783 100644 --- a/lib/psitime.h +++ b/lib/psitime.h @@ -298,6 +298,13 @@ public: */ PsiTime &operator=(const PsiTime &t); + /** + * Comparison operators + */ + bool operator==(const PsiTime &t); + bool operator<(const PsiTime &t); + bool operator>(const PsiTime &t); + enum zone { PSI_TZ_NONE = 0, PSI_TZ_EUROPEAN = 1, |