py-tai64 icon indicating copy to clipboard operation
py-tai64 copied to clipboard

.encode()?

Open kseistrup opened this issue 7 years ago • 0 comments

Shouldn't the module also have an .encode() method that takes a datetime object and returns a TAI64(n) value?

And shouldn't the .decode_tai64n() simply be called .decode(), since the context is already given by the module name?

kseistrup avatar Mar 31 '17 21:03 kseistrup