lunar_calendar 1.0.1 copy "lunar_calendar: ^1.0.1" to clipboard
lunar_calendar: ^1.0.1 copied to clipboard

Lunar calendar library for Dart Native

lunar_calendar #

Lunar calendar library for Dart Native. Computing lunar calendar by timezone.

Image Image
Lunar Japanese Lunar Vietnamese

Using #

Import the library:

import 'package:lunar_calendar/lunar_calendar.dart';

Convert calendar from one to another between lunar calendar and solar calendar.
For example:
List<int> lunarVi = CalendarConverter.solarToLunar(2020,12,14, Timezone.Vietnamese);
List<int> lunarJa = CalendarConverter.solarToLunar(2020,12,14, Timezone.Japanese);
print(lunarVi); //[1, 11, 2020]
print(lunarJa); //[30, 10, 2020]
10
likes
30
pub points
58%
popularity

Publisher

unverified uploader

Lunar calendar library for Dart Native

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on lunar_calendar