lunar_calendar 1.0.1 icon indicating copy to clipboard operation
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.

ImageImage
Lunar JapaneseLunar 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]
9
likes
90
pub points
69%
popularity

Publisher

unverified uploader

Lunar calendar library for Dart Native

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on lunar_calendar