Feb. 12, 2010
7:09 p.m.
The DateAndTime class comment says: I represent a point in UTC time as defined by ISO 8601. I have zero duration. My implementation uses three SmallIntegers and a Duration: jdn - julian day number. seconds - number of seconds since midnight. nanos - the number of nanoseconds since the second. offset - duration from UTC. The nanosecond attribute is almost always zero but it defined for full ISO compliance and is suitable for timestamping. This last sentence I don't understand. Is almost zero? For me is always zero. Why it say that is suitable for timestamping if only works for timestamping with seconds granularity? Some idea? Or is just a bad class comment? -- Miguel Cobá http://miguel.leugim.com.mx