Home
last modified time | relevance | path

Searched refs:week_num (Results 1 – 13 of 13) sorted by relevance

/third_party/musl/src/time/
Dstrftime.c19 static int week_num(const struct tm *tm) in week_num() function
90 if (tm->tm_yday < 3 && week_num(tm) != 1) val--; in __strftime_fmt_1()
91 else if (tm->tm_yday > 360 && week_num(tm) == 1) val++; in __strftime_fmt_1()
149 val = week_num(tm); in __strftime_fmt_1()
/third_party/musl/porting/liteos_a/kernel/src/time/
Dstrftime.c19 static int week_num(const struct tm *tm) in week_num() function
90 if (tm->tm_yday < 3 && week_num(tm) != 1) val--; in __strftime_fmt_1()
91 else if (tm->tm_yday > 360 && week_num(tm) == 1) val++; in __strftime_fmt_1()
149 val = week_num(tm); in __strftime_fmt_1()
/third_party/musl/porting/uniproton/kernel/src/time/
Dstrftime.c19 static int week_num(const struct tm *tm) in week_num() function
90 if (tm->tm_yday < 3 && week_num(tm) != 1) val--; in __strftime_fmt_1()
91 else if (tm->tm_yday > 360 && week_num(tm) == 1) val++; in __strftime_fmt_1()
149 val = week_num(tm); in __strftime_fmt_1()
/third_party/boost/boost/date_time/
Dtz_db_base.hpp239 typedef typename rule_type::start_rule::week_num week_num; typedef in boost::date_time::tz_db_base
259 typename start_rule::week_num s_wn, e_wn; in parse_rules()
272 week_num get_week_num(int nth) const in get_week_num()
Ddate_generators.hpp195 enum week_num {first=1, second, third, fourth, fifth}; enum in boost::date_time::nth_kday_of_month
196 nth_kday_of_month(week_num week_no, in nth_kday_of_month()
228 week_num nth_week() const in nth_week()
253 week_num wn_;
Ddate_generator_parser.hpp164 typename nth_kday_type::week_num wn; in get_nth_kday_type()
/third_party/musl/porting/liteos_m/kernel/src/time/
Dstrftime.c19 static int week_num(const struct tm *tm) in week_num() function
90 if (tm->tm_yday < 3 && week_num(tm) != 1) val--; in __strftime_fmt_1()
91 else if (tm->tm_yday > 360 && week_num(tm) == 1) val++; in __strftime_fmt_1()
149 val = week_num(tm); in __strftime_fmt_1()
/third_party/musl/porting/linux/user/src/time/
Dstrftime.c47 static int week_num(const struct tm *tm) in week_num() function
122 if (tm->tm_yday < __DAY_LAST_WEEK2__ && week_num(tm) != 1) { in __strftime_fmt_1()
124 } else if (tm->tm_yday > __DAYS_IN_YEAR__ && week_num(tm) == 1) { in __strftime_fmt_1()
206 val = week_num(tm); in __strftime_fmt_1()
/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format.cc659 bool FromWeek(int week_num, weekday week_start, year_t* year, std::tm* tm) { in FromWeek() argument
662 cd = next_weekday(cd - 1, FromTmWday(tm->tm_wday)) + (week_num * 7); in FromWeek()
725 int week_num = -1; in parse() local
765 week_num = -1; in parse()
770 week_num = -1; in parse()
773 data = ParseInt(data, 0, 0, 53, &week_num); in parse()
777 data = ParseInt(data, 0, 0, 53, &week_num); in parse()
977 if (week_num != -1) { in parse()
978 if (!FromWeek(week_num, week_start, &year, &tm)) { in parse()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format.cc659 bool FromWeek(int week_num, weekday week_start, year_t* year, std::tm* tm) { in FromWeek() argument
662 cd = next_weekday(cd - 1, FromTmWday(tm->tm_wday)) + (week_num * 7); in FromWeek()
725 int week_num = -1; in parse() local
765 week_num = -1; in parse()
770 week_num = -1; in parse()
773 data = ParseInt(data, 0, 0, 53, &week_num); in parse()
777 data = ParseInt(data, 0, 0, 53, &week_num); in parse()
977 if (week_num != -1) { in parse()
978 if (!FromWeek(week_num, week_start, &year, &tm)) { in parse()
/third_party/boost/boost/date_time/local_time/
Dposix_time_zone.hpp406 static_cast<nkday::week_num>(sw),sd,sm), in M_func()
408 static_cast<nkday::week_num>(ew),ed,em) in M_func()
/third_party/boost/boost/date_time/gregorian/
Dgreg_serialize.hpp351 typename gregorian::nth_kday_of_month::week_num wn(nkd.nth_week()); in save()
365 typename gregorian::nth_kday_of_month::week_num wn(gregorian::nth_kday_of_month::first); in load()
/third_party/glib/glib/tests/
Dgdatetime.c2053 gint week_num; in test_all_dates() local
2063 week_num = 1; in test_all_dates()
2085 week_year, week_num, weekday, in test_all_dates()
2100 g_date_time_get_week_of_year (dt) != week_num || in test_all_dates()
2104 week_year, week_num, weekday, in test_all_dates()
2154 week_num = 1; in test_all_dates()
2158 week_num++; in test_all_dates()