menu
quiver package
documentation
time.dart
time.dart
brightness_4
brightness_5
time
library
Classes
Clock
Provides points in time relative to the current point in time, for example: now, 2 days ago, 4 weeks from now, etc.
Constants
aDay
→ const
Duration
aMicrosecond
→ const
Duration
aMillisecond
→ const
Duration
aMinute
→ const
Duration
anHour
→ const
Duration
aSecond
→ const
Duration
aWeek
→ const
Duration
Functions
clampDayOfMonth
(
{
required
int
year
,
required
int
month
,
required
int
day
}
)
→
int
Takes a
date
that may be outside the allowed range of dates for a given
month
in a given
year
and returns the closest date that is within the allowed range.
daysInMonth
(
int
year
,
int
month
)
→
int
Returns the number of days in the specified month.
isLeapYear
(
int
year
)
→
bool
Returns true if
year
is a leap year.
systemTime
(
)
→
DateTime
Return current system time.
Typedefs
TimeFunction
=
DateTime
Function
()
Returns current time.
quiver package
documentation
time.dart
quiver
package
Libraries
testing/src/equality/equality
testing/src/async/fake_async
async
cache
check
collection
core
iterables
pattern
strings
testing/async
testing/equality
testing/time
time
testing/src/time/time
quiver.time library