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