mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
timestamp
mir
date
Timestamp
timestamp
()
Timestamp
timestamp
()
@
safe
pure @
nogc
@
safe
pure nothrow @
nogc
const @
property
Timestamp
timestamp
(
)
Examples
import
mir
.
timestamp
;
auto
d1
=
Date
(
2020
,
Month
.
may
,
15
);
auto
ts2
=
d1
.
timestamp
;
mir
date
aliases
date
opCast
toString
classes
DateTimeException
constructors
this
enums
AllowDayOverflow
AssumePeriod
Month
Quarter
functions
add
day
dayNumber
daysToDayOfWeek
maxDay
opBinary
opBinaryRight
opCmp
opOpAssign
quarter
timestamp
toHash
toISOExtString
toISOString
toSimpleString
valid
year
yearIsLeapYear
yearMonthDay
yearQuarter
properties
dayOfGregorianCal
dayOfWeek
dayOfYear
daysInMonth
endOfMonth
endOfQuarter
isAD
isLeapYear
julianDay
max
min
modJulianDay
static functions
fromDayNumber
fromISOExtString
fromISOString
fromSimpleString
fromString
fromYMD
trustedCreate
structs
YearMonth
YearQuarter
variables
month