X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/edc8896ea467a9d873fcb9f478dcbf2b2638c669..a3748d4e58e42b0cf796cddeb904365b37340e51:/tasklib/task.py?ds=inline diff --git a/tasklib/task.py b/tasklib/task.py index 5c05bae..56cda19 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -149,6 +149,24 @@ class SerializingObject(object): def normalize_modified(self, value): return self.datetime_normalizer(value) + def serialize_start(self, value): + return self.timestamp_serializer(value) + + def deserialize_start(self, value): + return self.timestamp_deserializer(value) + + def normalize_start(self, value): + return self.datetime_normalizer(value) + + def serialize_end(self, value): + return self.timestamp_serializer(value) + + def deserialize_end(self, value): + return self.timestamp_deserializer(value) + + def normalize_end(self, value): + return self.datetime_normalizer(value) + def serialize_due(self, value): return self.timestamp_serializer(value)