summaryrefslogtreecommitdiff
path: root/src/KM_util.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2011-05-13 01:50:36 +0000
committerjhurst <>2011-05-13 01:50:36 +0000
commit50fab55d36abf7f01c733d2f80833408dbe0f761 (patch)
treed4f8c7be9b104debe87f560b6ed892786f3a0741 /src/KM_util.cpp
parent6a19e4f305c6936ea3a09e2f96a622372e1f4ab2 (diff)
the story so far
Diffstat (limited to 'src/KM_util.cpp')
-rwxr-xr-xsrc/KM_util.cpp10
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()
{
}