phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
Date.opCmp
std
datetime
date
Date
Compares this
Date
with the given
Date
.
struct
Date
const @
safe
pure nothrow @
nogc
int
opCmp
(
Date
rhs
)
Return Value
Type:
int
this < rhs
< 0
this == rhs
0
this > rhs
> 0
Meta
Source
See Implementation
std
datetime
date
Date
constructors
this
functions
add
diffMonths
opBinary
opCmp
opOpAssign
roll
toISOExtString
toISOString
toSimpleString
toString
properties
day
dayOfGregorianCal
dayOfWeek
dayOfYear
daysInMonth
endOfMonth
isAD
isLeapYear
isoWeek
isoWeekAndYear
isoWeekYear
julianDay
max
min
modJulianDay
month
year
yearBC
static functions
fromISOExtString
fromISOString
fromSimpleString
Compares this Date with the given Date.