lunar_calendar_converter 1.0.4+1 lunar_calendar_converter: ^1.0.4+1 copied to clipboard
A simple but useful library to convert between the lunar calendar and the solar calendar.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lunar_calendar_converter
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
lunar_calendar_converter: ^1.0.4+1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:lunar_calendar_converter/lunar.dart';
import 'package:lunar_calendar_converter/lunar_solar_converter.dart';
import 'package:lunar_calendar_converter/solar.dart';