Enumeration Case

SKProduct.PeriodUnit.year

An interval lasting one year.

Declaration

case year = 3

See Also

Period Units

case day

An interval lasting one day.

case month

An interval lasting one month.

case week

An interval lasting one week.