• Home
  • Raw
  • Download

Lines Matching refs:cctz

47 namespace cctz = absl::time_internal::cctz;
54 inline cctz::time_point<cctz::seconds> unix_epoch() { in unix_epoch()
55 return std::chrono::time_point_cast<cctz::seconds>( in unix_epoch()
141 Time MakeTimeWithOverflow(const cctz::time_point<cctz::seconds>& sec, in MakeTimeWithOverflow()
142 const cctz::civil_second& cs, in MakeTimeWithOverflow()
143 const cctz::time_zone& tz, in MakeTimeWithOverflow()
145 const auto max = cctz::time_point<cctz::seconds>::max(); in MakeTimeWithOverflow()
146 const auto min = cctz::time_point<cctz::seconds>::min(); in MakeTimeWithOverflow()
166 inline int MapWeekday(const cctz::weekday& wd) { in MapWeekday()
168 case cctz::weekday::monday: in MapWeekday()
170 case cctz::weekday::tuesday: in MapWeekday()
172 case cctz::weekday::wednesday: in MapWeekday()
174 case cctz::weekday::thursday: in MapWeekday()
176 case cctz::weekday::friday: in MapWeekday()
178 case cctz::weekday::saturday: in MapWeekday()
180 case cctz::weekday::sunday: in MapWeekday()
186 bool FindTransition(const cctz::time_zone& tz, in FindTransition()
187 bool (cctz::time_zone::*find_transition)( in FindTransition()
188 const cctz::time_point<cctz::seconds>& tp, in FindTransition()
189 cctz::time_zone::civil_transition* trans) const, in FindTransition()
192 const auto tp = unix_epoch() + cctz::seconds(ToUnixSeconds(t)); in FindTransition()
193 cctz::time_zone::civil_transition tr; in FindTransition()
210 const auto tp = unix_epoch() + cctz::seconds(time_internal::GetRepHi(rep_)); in In()
211 const auto al = cctz::time_zone(tz).lookup(tp); in In()
213 const auto cd = cctz::civil_day(cs); in In()
223 bd.weekday = MapWeekday(cctz::get_weekday(cd)); in In()
224 bd.yearday = cctz::get_yearday(cd); in In()
356 const auto tp = unix_epoch() + cctz::seconds(time_internal::GetRepHi(ud)); in At()
369 const cctz::civil_second cs(ct); in At()
374 case cctz::time_zone::civil_lookup::UNIQUE: in At()
377 case cctz::time_zone::civil_lookup::SKIPPED: in At()
380 case cctz::time_zone::civil_lookup::REPEATED: in At()
391 return FindTransition(cz_, &cctz::time_zone::next_transition, t, trans); in NextTransition()
395 return FindTransition(cz_, &cctz::time_zone::prev_transition, t, trans); in PrevTransition()