Period enum
Class period within a day, following NTUT's schedule structure.
NTUT uses periods 1-4, N (noon), 5-9, and A-D:
- 1-4: Morning periods
- N: Noon period
- 5-9: Afternoon periods
- A-D: Evening periods
Values
- first → const Period
-
const Period('1') - second → const Period
-
const Period('2') - third → const Period
-
const Period('3') - fourth → const Period
-
const Period('4') - nPeriod → const Period
-
const Period('N') - fifth → const Period
-
const Period('5') - sixth → const Period
-
const Period('6') - seventh → const Period
-
const Period('7') - eighth → const Period
-
const Period('8') - ninth → const Period
-
const Period('9') - aPeriod → const Period
-
const Period('A') - bPeriod → const Period
-
const Period('B') - cPeriod → const Period
-
const Period('C') - dPeriod → const Period
-
const Period('D')
Properties
- code → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isAM → bool
-
no setter
- isEvening → bool
-
no setter
- isPM → bool
-
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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