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]

Libraries

lunar_calendar