EraCalculator

0.31.4.30

Last library of 平成.
bannzai/EraCalculator

What's New

平成.

2019-04-30T13:43:24Z

EraCalculator

Last library of 平成. So, in Japan change era. This libray is my memorial library.

Usage

EraCalculator can convert other Era years. This example is Calculates what year of 平成 was when the 令和 was 平成.

let converted = EraType.令和.convert(to: EraType.平成)
print(converted.eraType) // 平成
print(converted.year) // 31

LICENSE

EraCalculator is available under the MIT license. See the LICENSE file for more info.

Description

  • Swift Tools 4.2.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Nov 08 2022 00:36:20 GMT-0500 (GMT-05:00)