From: Tanaka Akira Date: 2010-11-28T17:53:28+09:00 Subject: [ruby-core:33447] Re: [Ruby 1.9-Feature#4068] Replace current standard Date/DateTime library with home_run 2010/11/28 tadayoshi funaba : > >> I am not sure if we need to guarantee granularity less than a nano >> second. Do we? > > ?? but, we already have I used Time to represent struct bintime in FreeBSD. ext/socket/ancdata.c instantiates Time object from datagram timestamp which contains struct bintime. struct bintime can represent 2**-64 second. http://phk.freebsd.dk/pubs/timecounter.pdf Also, I found recent DB2 provides picosecond in TIMESTAMP. If someone try to implement a binding for DB2, nanosecond precision object is not satisfactory. -- Tanaka Akira