Lines Matching defs:timestamp
514 int64_t timestamp;
515 if (get_local_timestamp(dt, ×tamp)) {
523 if (num_trans >= 1 && timestamp < self->trans_list_utc[0]) {
527 timestamp > self->trans_list_utc[num_trans - 1]) {
528 tti = find_tzrule_ttinfo_fromutc(&(self->tzrule_after), timestamp,
546 timestamp < (self->trans_list_utc[num_trans - 1] + diff)) {
552 size_t idx = _bisect(timestamp, self->trans_list_utc, num_trans);
567 if (shift > (timestamp - self->trans_list_utc[idx - 1])) {
1167 /* Function to calculate the local timestamp of a transition from the year. */
1259 /* Function to calculate the local timestamp of a transition from the year.
1261 * This translates the day of the year into a local timestamp — either a
1345 * This takes a local timestamp and fold for disambiguation purposes; the year
1346 * could technically be calculated from the timestamp, but given that the
1400 * from the timestamp, but all callers of this function should have the year
2048 * datetime.timestamp, which is the total number of seconds actual elapsed