Lines Matching defs:time
12 * A Timestamp represents a point in time independent of any time zone
14 * nanosecond resolution in UTC Epoch time. It is encoded using the
24 * Example 1: Compute Timestamp from POSIX `time()`.
26 * timestamp.set_seconds(time(NULL));
47 * Example 5: Compute Timestamp from current time in Python.
66 * to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
67 * with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
69 * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
77 * Represents seconds of UTC time since Unix epoch
87 * that count forward in time. Must be from 0 to 999,999,999
101 * Represents seconds of UTC time since Unix epoch
107 * that count forward in time. Must be from 0 to 999,999,999
117 * Represents seconds of UTC time since Unix epoch
130 * Represents seconds of UTC time since Unix epoch
149 * that count forward in time. Must be from 0 to 999,999,999
163 * that count forward in time. Must be from 0 to 999,999,999
196 $time = sprintf('%s.%06d', $this->seconds, $this->nanos / 1000);
197 return \DateTime::createFromFormat('U.u', $time);