The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
TimeOfDay.opCmp
std
datetime
date
TimeOfDay
Compares this
TimeOfDay
with the given
TimeOfDay
.
struct
TimeOfDay
const @
safe
pure nothrow @
nogc
int
opCmp
(
TimeOfDay
rhs
)
Return Value
Type:
int
this < rhs
< 0
this == rhs
0
this > rhs
> 0
Meta
Source
See Implementation
std
datetime
date
TimeOfDay
constructors
this
functions
opBinary
opCmp
opOpAssign
roll
toISOExtString
toISOString
toString
properties
hour
max
min
minute
second
static functions
fromISOExtString
fromISOString
Compares this TimeOfDay with the given TimeOfDay.