DateTimeGranularity enum
Constructors
- DateTimeGranularity()
-
const
Values
- unknown → const DateTimeGranularity
-
The granularity of the DateTimeEntity is unknown - 0.
- year → const DateTimeGranularity
-
The DateTimeEntity is precise to a specific year - 1.
- month → const DateTimeGranularity
-
The DateTimeEntity is precise to a specific month - 2.
- week → const DateTimeGranularity
-
The DateTimeEntity is precise to a specific week - 3.
- day → const DateTimeGranularity
-
The DateTimeEntity is precise to a specific day - 4.
- hour → const DateTimeGranularity
-
The DateTimeEntity is precise to a specific hour - 5.
- minute → const DateTimeGranularity
-
The DateTimeEntity is precise to a specific minute - 6.
- second → const DateTimeGranularity
-
The DateTimeEntity is precise to a specific second - 7.
Properties
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
Constants
-
values
→ const List<
DateTimeGranularity> - A constant List of the values in this enum, in order of their declaration.