Skip to content

qtdzz/lunar_calendar

 
 

Repository files navigation

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]

About

Lunar calendar library for Dart Native

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 91.3%
  • Objective-C 3.3%
  • Java 2.4%
  • Swift 2.3%
  • Kotlin 0.7%