DateTimeUtils class abstract 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

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 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.