Home
last modified time | relevance | path

Searched refs:year_month_day (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dyear_month_day.h38 class year_month_day {
45 year_month_day() = default;
46 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day( in year_month_day() function
49 _LIBCPP_HIDE_FROM_ABI constexpr year_month_day(const year_month_day_last& __ymdl) noexcept;
50 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day(const sys_days& __sysd) noexcept in year_month_day() function
51 : year_month_day(__from_days(__sysd.time_since_epoch())) {} in year_month_day()
52 _LIBCPP_HIDE_FROM_ABI inline explicit constexpr year_month_day(const local_days& __locd) noexcept in year_month_day() function
53 : year_month_day(__from_days(__locd.time_since_epoch())) {} in year_month_day()
55 _LIBCPP_HIDE_FROM_ABI constexpr year_month_day& operator+=(const months& __dm) noexcept;
56 _LIBCPP_HIDE_FROM_ABI constexpr year_month_day& operator-=(const months& __dm) noexcept;
[all …]
H A Dconvert_to_tm.h65 requires(same_as<_Date, chrono::year_month_day> || same_as<_Date, chrono::year_month_day_last>)
77 …static_cast<chrono::sys_days>(chrono::year_month_day{__date.year(), chrono::January, chrono::day{1… in __convert_to_tm()
86 chrono::year_month_day __ymd{__days}; in __convert_to_tm()
88 _Tm __result = std::__convert_to_tm<_Tm>(chrono::year_month_day{__ymd}, chrono::weekday{__days}); in __convert_to_tm()
162 …} else if constexpr (same_as<_ChronoT, chrono::year_month_day> || same_as<_ChronoT, chrono::year_m… in __convert_to_tm()
164 chrono::year_month_day{__value}, chrono::weekday{static_cast<chrono::sys_days>(__value)}); in __convert_to_tm()
167 …return std::__convert_to_tm<_Tm>(chrono::year_month_day{static_cast<chrono::sys_days>(__value)}, _… in __convert_to_tm()
H A Dformatter.h435 else if constexpr (same_as<_Tp, chrono::year_month_day>) in __weekday_ok()
486 else if constexpr (same_as<_Tp, chrono::year_month_day>) in __weekday_name_ok()
537 else if constexpr (same_as<_Tp, chrono::year_month_day>) in __date_ok()
588 else if constexpr (same_as<_Tp, chrono::year_month_day>) in __month_name_ok()
892 struct _LIBCPP_TEMPLATE_VIS formatter<chrono::year_month_day, _CharT> : public __formatter_chrono<_…
H A Dyear_month_weekday.h23 #include <__chrono/year_month_day.h>
82 const year_month_day __ymd = year_month_day(__sysd); in __from_days()
H A Dostream.h57 return __os << year_month_day{__dp};
228 operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_day& __ymd) {
/freebsd/contrib/llvm-project/libcxx/include/
H A Dchrono482 // 25.8.14, class year_month_day class // C++20
483 year_month_day;
485 constexpr bool operator==(const year_month_day& x, const year_month_day& y) noexcept;
486 constexpr strong_ordering operator<=>(const year_month_day& x, const year_month_day& y) noexcept;
488 constexpr year_month_day operator+(const year_month_day& ymd, const months& dm) noexcept;
489 constexpr year_month_day operator+(const months& dm, const year_month_day& ymd) noexcept;
490 constexpr year_month_day operator+(const year_month_day& ymd, const years& dy) noexcept;
491 constexpr year_month_day operator+(const years& dy, const year_month_day& ymd) noexcept;
492 constexpr year_month_day operator-(const year_month_day& ymd, const months& dm) noexcept;
493 constexpr year_month_day operator-(const year_month_day& ymd, const years& dy) noexcept;
[all …]
H A Dmodule.modulemap1161 module std_private_chrono_year_month_day [system] { header "__chrono/year_month_day.h" }
/freebsd/contrib/llvm-project/libcxx/src/experimental/include/tzdb/
H A Dtypes_private.h36 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI year_month_day operator()(year __year, month __month) const { in operator()
37 auto __result = static_cast<sys_days>(year_month_day{__year, __month, __day}); in operator()
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dtime_zone.cpp181 [[nodiscard]] static sys_seconds __to_sys_seconds(year_month_day __ymd, seconds __seconds) { in __to_sys_seconds()
217 [[nodiscard]] static year_month_day __to_year_month_day(year __year, month __month, __tz::__on __on… in __to_year_month_day()
222 return year_month_day{__year, __month, __value}; in __to_year_month_day()
224 … return year_month_day{static_cast<sys_days>(year_month_weekday_last{__year, __month, __value})}; in __to_year_month_day()
240year_month_day __ymd = chrono::__to_year_month_day(__continuation.__year, __continuation.__in, __c… in __until_to_sys_seconds()
296 year_month_day __ymd = chrono::__to_year_month_day(__year, __rule.__in, __rule.__on); in __from_to_sys_seconds()
404 year_month_day __ymd = chrono::__to_year_month_day(__year, __rule.__in, __rule.__on); in __rule_to_sys_seconds()
429 year __year = year_month_day{chrono::floor<days>(__time)}.year(); in __next_rule()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dchrono.cppm
H A Dchrono.inc169 // [time.cal.ymd], class year_month_day
170 using std::chrono::year_month_day;
/freebsd/lib/libc++/
H A DMakefile577 CHR_HEADERS+= year_month_day.h
H A Dlibcxx.imp278 { include: [ "<__chrono/year_month_day.h>", "private", "<chrono>", "public" ] },
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc3412 SYMBOL(year_month_day, std::chrono::, <chrono>)