DateTimeUtility class final

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

avg(Iterable<DateTime?>? dates) DateTime?
Returns the average date in the list of dates, ignoring null values.
first(Iterable<DateTime?>? dates) DateTime?
Returns the first date in the list of dates, ignoring null values.
last(Iterable<DateTime?>? dates) DateTime?
Returns the last date in the list of dates, ignoring null values.
median(Iterable<DateTime?>? dates) DateTime?
Returns the median date in the list of dates, ignoring null values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

i DateTimeUtility
final