DateTimeXX extension Null safety

on

Properties

daysAgo int
read-only
daysApart int
read-only
hasTime bool
read-only
hoursAgo int
read-only
monthsAgo int
read-only
monthsApart int
read-only
yearsAgo int
read-only
yearsApart int
read-only

Methods

atStartOfDay() DateTime
atTime([int hour = 0, int minute = 0, int second = 0]) DateTime
sinceNow() Duration
withoutTime() DateTime