Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CalendarYearLevels.type
Members list
Type members
Inherited and Abstract types
The names of the product elements.
The names of the product elements.
Attributes
- Inherited from:
- Mirror
The name of the type.
The name of the type.
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Create a CalendarYearLevels with years already in contiguous descending order starting at currentYear. The input arrays are copied.
Create a CalendarYearLevels with years already in contiguous descending order starting at currentYear. The input arrays are copied.
Attributes
Create a CalendarYearLevels from arrays of years and their corresponding index levels. Years may be provided in any order, but must be contiguous (no gaps) and unique. The current year is set to the most recent year.
Create a CalendarYearLevels from arrays of years and their corresponding index levels. Years may be provided in any order, but must be contiguous (no gaps) and unique. The current year is set to the most recent year.
Value parameters
- levels
-
Array of index levels for each year
- years
-
Array of calendar years
Attributes
- Returns
-
CalendarYearLevels with the current year set to the most recent year
Create a CalendarYearLevels from (year, level) pairs, in any order. Years must be contiguous and unique.
Create a CalendarYearLevels from (year, level) pairs, in any order. Years must be contiguous and unique.
CalendarYearLevels(Seq((year = 2025, level = 3.70e12), (year = 2026, level = 3.80e12)))