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: Sat Oct 19 2024 18:05:07 GMT-0900 (Hawaii-Aleutian Daylight Time)