lunar_calendar_converter 1.0.0 copy "lunar_calendar_converter: ^1.0.0" to clipboard
lunar_calendar_converter: ^1.0.0 copied to clipboard

outdated

You can use this converter to convert calendar from one to another between lunar calendar and solar calendar. Like `Lunar lunar = Lunar(lunarYear: 2022, lunarMonth: 4, lunarDay: 1, isLeap: true); Sol [...]

Using #

Import the library:

import "package:lunar_calendar_converter/lunar_calendar_converter.dart";
10
likes
0
pub points
37%
popularity

Publisher

unverified uploader

You can use this converter to convert calendar from one to another between lunar calendar and solar calendar. Like `Lunar lunar = Lunar(lunarYear: 2022, lunarMonth: 4, lunarDay: 1, isLeap: true); Solar solar = LunarSolarConverter.lunarToSolar(lunar);` or `Solar solar = Solar(solarYear: 2018, solarMonth: 8, solarDay: 22); Lunar lunar = LunarSolarConverter.solarToLunar(solar);` The `Lunar` class can come out Chinese text for a lunar calendar, like `Lunar lunar = Lunar(lunarYear: 2018, lunarMonth: 8, lunarDay: 22); print(lunar);` You will get "庚子年(2020)闰四月初一".

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on lunar_calendar_converter