OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ymdl
(Results
1 - 10
of
10
) sorted by null
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/
op_local_days.pass.cpp
35
constexpr year_month_day_last
ymdl
{year{1970}, month_day_last{std::chrono::January}};
36
constexpr local_days sd{
ymdl
};
42
constexpr year_month_day_last
ymdl
{year{2000}, month_day_last{std::chrono::January}};
43
constexpr local_days sd{
ymdl
};
49
constexpr year_month_day_last
ymdl
{year{1940}, month_day_last{std::chrono::January}};
50
constexpr local_days sd{
ymdl
};
56
year_month_day_last
ymdl
{year{1939}, month_day_last{std::chrono::November}};
57
local_days sd{
ymdl
};
op_sys_days.pass.cpp
35
constexpr year_month_day_last
ymdl
{year{1970}, month_day_last{std::chrono::January}};
36
constexpr sys_days sd{
ymdl
};
42
constexpr year_month_day_last
ymdl
{year{2000}, month_day_last{std::chrono::January}};
43
constexpr sys_days sd{
ymdl
};
49
constexpr year_month_day_last
ymdl
{year{1940}, month_day_last{std::chrono::January}};
50
constexpr sys_days sd{
ymdl
};
56
year_month_day_last
ymdl
{year{1939}, month_day_last{std::chrono::November}};
57
sys_days sd{
ymdl
};
plus_minus_equal_year.pass.cpp
55
year_month_day_last
ymdl
(year{i}, mdl);
56
assert(static_cast<int>((
ymdl
+= years{2}).year()) == i + 2);
57
assert(
ymdl
.month_day_last() == mdl);
58
assert(static_cast<int>((
ymdl
).year()) == i + 2);
59
assert(
ymdl
.month_day_last() == mdl);
60
assert(static_cast<int>((
ymdl
-= years{1}).year()) == i + 1);
61
assert(
ymdl
.month_day_last() == mdl);
62
assert(static_cast<int>((
ymdl
).year()) == i + 1);
63
assert(
ymdl
.month_day_last() == mdl);
month_day_last.pass.cpp
35
year_month_day_last
ymdl
(year{1234}, month_day_last{month{i}});
36
assert( static_cast<unsigned>(
ymdl
.month_day_last().month()) == i);
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/
op_local_days.pass.cpp
35
constexpr year_month_day_last
ymdl
{year{1970}, month_day_last{std::chrono::January}};
36
constexpr local_days sd{
ymdl
};
42
constexpr year_month_day_last
ymdl
{year{2000}, month_day_last{std::chrono::January}};
43
constexpr local_days sd{
ymdl
};
49
constexpr year_month_day_last
ymdl
{year{1940}, month_day_last{std::chrono::January}};
50
constexpr local_days sd{
ymdl
};
56
year_month_day_last
ymdl
{year{1939}, month_day_last{std::chrono::November}};
57
local_days sd{
ymdl
};
op_sys_days.pass.cpp
64
year_month_weekday_last
ymdl
{year{1939}, std::chrono::November, weekday_last{Tuesday}};
65
sys_days sd{
ymdl
};
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/
plus.pass.cpp
15
// operator+(const year_month_day_last&
ymdl
, const months& dm) noexcept;
17
// Returns: (
ymdl
.year() /
ymdl
.month() + dm) / last.
20
// operator+(const months& dm, const year_month_day_last&
ymdl
) noexcept;
22
// Returns:
ymdl
+ dm.
26
// operator+(const year_month_day_last&
ymdl
, const years& dy) noexcept;
28
// Returns: {
ymdl
.year()+dy,
ymdl
.month_day_last()}.
31
// operator+(const years& dy, const year_month_day_last&
ymdl
) noexcept;
33
// Returns:
ymdl
+ d
[
all
...]
minus.pass.cpp
15
// operator-(const year_month_day_last&
ymdl
, const months& dm) noexcept;
17
// Returns:
ymdl
+ (-dm).
20
// operator-(const year_month_day_last&
ymdl
, const years& dy) noexcept;
22
// Returns:
ymdl
+ (-dy).
33
constexpr bool testConstexprYears (std::chrono::year_month_day_last
ymdl
)
35
std::chrono::year_month_day_last ym1 =
ymdl
- std::chrono::years{10};
37
ym1.year() == std::chrono::year{static_cast<int>(
ymdl
.year()) - 10}
38
&& ym1.month() ==
ymdl
.month()
42
constexpr bool testConstexprMonths (std::chrono::year_month_day_last
ymdl
)
44
std::chrono::year_month_day_last ym1 =
ymdl
- std::chrono::months{6}
[
all
...]
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/
ctor.year_month_day_last.pass.cpp
14
// constexpr year_month_day(const year_month_day_last&
ymdl
) noexcept;
17
// y_ with
ymdl
.year(), m_ with
ymdl
.month(), and d_ with
ymdl
.day().
42
constexpr year_month_day_last
ymdl
{year{2019}, month_day_last{month{1}}};
43
constexpr year_month_day ymd{
ymdl
};
52
constexpr year_month_day_last
ymdl
{year{1970}, month_day_last{month{4}}};
53
constexpr year_month_day ymd{
ymdl
};
62
constexpr year_month_day_last
ymdl
{year{2000}, month_day_last{month{2}}};
63
constexpr year_month_day ymd{
ymdl
};
[
all
...]
/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/
year_month_day_last.pass.cpp
67
year_month_day_last
ymdl
= year_month{y,m}/last;
local
68
assert(
ymdl
.year() == y);
69
assert(
ymdl
.month() == m);
Completed in 1014 milliseconds