diff options
Diffstat (limited to 'lib/psitime.h')
-rw-r--r-- | lib/psitime.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/psitime.h b/lib/psitime.h index 9755473..7072711 100644 --- a/lib/psitime.h +++ b/lib/psitime.h @@ -133,6 +133,11 @@ public: PsiTime(void); /** + * A copy-constructor + */ + PsiTime(const PsiTime &t); + + /** * Destroys the instance. */ ~PsiTime(); @@ -231,6 +236,11 @@ public: */ friend ostream &operator<<(ostream &s, const PsiTime &t); + /** + * Assignment operator + */ + PsiTime &operator=(const PsiTime &t); + enum zone { PSI_TZ_NONE = 0, PSI_TZ_EUROPEAN = 1, |