diff options
Diffstat (limited to 'src/KM_util.cpp')
| -rwxr-xr-x | src/KM_util.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/KM_util.cpp b/src/KM_util.cpp index 8e4fa7c..b84f7f5 100755 --- a/src/KM_util.cpp +++ b/src/KM_util.cpp @@ -970,6 +970,16 @@ Kumu::Timestamp::Timestamp(const Timestamp& rhs) : IArchive() Second = rhs.Second; } +// +Kumu::Timestamp::Timestamp(const char* datestr) : IArchive() +{ + if ( ! DecodeString(datestr) ) + { + *this = Timestamp(); + } +} + +// Kumu::Timestamp::~Timestamp() { } |
