CalendarPeriod class
A CalendarPeriod
represents the abstract concept of a time period that has
a canonical start. Grammatically, "the start of the current
CalendarPeriod
." All calendar times begin at midnight UTC.
- Inheritance
-
- Object
- ProtobufEnum
- CalendarPeriod
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
name
or thevalue
if names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → CalendarPeriod?
Constants
- CALENDAR_PERIOD_UNSPECIFIED → const CalendarPeriod
- DAY → const CalendarPeriod
- FORTNIGHT → const CalendarPeriod
- HALF → const CalendarPeriod
- MONTH → const CalendarPeriod
- QUARTER → const CalendarPeriod
-
values
→ const List<
CalendarPeriod> - WEEK → const CalendarPeriod
- YEAR → const CalendarPeriod