X-Git-Url: http://www.git.cypherpunks.ru/?p=gotai64n.git;a=blobdiff_plain;f=tai64n.go;fp=tai64n.go;h=2ffe3e897cd29934d3654d24280558e3606afede;hp=50a4e559314e13f4a521991b33bb909c127e69fe;hb=65368c82f3c1d232b14dd5f806697a08e942ad0e;hpb=9d72f0636dc8b52a0d5f8eacc25bc50ac4d1dce8 diff --git a/tai64n.go b/tai64n.go index 50a4e55..2ffe3e8 100644 --- a/tai64n.go +++ b/tai64n.go @@ -18,11 +18,11 @@ along with this program. If not, see . // TAI64/TAI64N (http://cr.yp.to/libtai/tai64.html) dealing library. // You can convert time to TAI64/TAI64N and vice versa with it. // -// tai := new(tai64n.TAI64N) -// tai.FromTime(time.Now()) -// printable := tai64n.Encode(tai[:]) -// decoded, err := tai64n.Decode(printable) -// tai64n.ToTime(tai[:]) == decoded +// tai := new(tai64n.TAI64N) +// tai.FromTime(time.Now()) +// printable := tai64n.Encode(tai[:]) +// decoded, err := tai64n.Decode(printable) +// tai64n.ToTime(tai[:]) == decoded // // By default TAI64 timestamps contain initial 1972-01-01 10-seconds // TAI<->UTC difference. If you need honest TAI representation, then you