mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
add
mir
date
Undocumented in source. Be warned that the author may not have intended to support it.
YearMonthDay
add
(long months, AllowDayOverflow allowOverflow)
@
safe
pure nothrow @
nogc
ref
YearMonthDay
add
(
string
units
)
(
long
months
,
AllowDayOverflow
allowOverflow
=
AllowDayOverflow.yes
)
if
(
units
== "months"
)
YearMonthDay
add
(long years, AllowDayOverflow allowOverflow)
Date
add
(long amount, AllowDayOverflow allowOverflow)
Meta
Source
See Implementation
mir
date
aliases
Date
opCast
toString
classes
DateTimeException
constructors
this
enums
AllowDayOverflow
Month
functions
_addDays
add
daysToDayOfWeek
getDayOfWeek
maxDay
opBinary
opBinaryRight
opCmp
timestamp
toHash
toISOExtString
toISOString
toSimpleString
valid
year
yearIsLeapYear
yearMonthDay
yearMonthDayImpl
properties
dayOfGregorianCal
dayOfWeek
dayOfYear
daysInMonth
endOfMonth
endOfQuarter
isAD
isLeapYear
julianDay
max
min
modJulianDay
static functions
fromISOExtString
fromISOString
fromSimpleString
fromString
fromYMD
trustedCreate
static variables
_dict
variables
_julianDay
_monthNames
day
month