FiscalPeriod class

Represents a fiscal year period.

Annotations
  • @immutable

Constructors

FiscalPeriod({required int year, required int quarter, required int periodInQuarter, required FiscalYearConfig config})
const

Properties

config FiscalYearConfig
The configuration used.
final
displayString String
Gets a display string like "FY2024 Q1".
no setter
hashCode int
The hash code for this object.
no setteroverride
period int
Gets the fiscal period (month) number within the fiscal year (1-12).
no setter
periodInQuarter int
The period number within the quarter (1-3 for months).
final
quarter int
The fiscal quarter (1-4).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortDisplay String
Gets a short display like "FY24-Q1".
no setter
year int
The fiscal year number.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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