jiffy_klc

Last updated:

0 purchases

jiffy_klc Image
jiffy_klc Images
Add to Cart

Description:

jiffy klc

Jiffy_klc #


Jiffy_klc is a Jiffy extension package for lunar-solar date conversion.
Overview #
This package was created using the Jiffy package and the klc package.
Getting Started #
Add the following to your pubspec.yaml:
dependencies:
jiffy: ^6.3.1
jiffy_klc: ^1.0.0
copied to clipboard
Next, import:
import 'package:jiffy/jiffy.dart';
import 'package:jiffy_klc/jiffy_klc.dart';
copied to clipboard
Usage #
/// Convert from the solar calendar to the lunar calendar
final Jiffy jiffy = Jiffy.parse('1997-09-23').toLunar();
final DateTime dateTime = jiffy.dateTime;
// print: 1997-08-22 00:00:00.000

/// Convert from the lunar calendar to the solar calendar
final Jiffy jiffy = Jiffy.parse('1997-09-23').toSolarFromLunar();
final DateTime dateTime = jiffy.dateTime;
// print: 1997-10-24 00:00:00.000

/// Convert from the solar calendar to the Gapja calendar
final String string = Jiffy.parse('1997-09-23').toSolarGapjaString();
// print: 정축년 기유월 무진일

/// Convert from the solar calendar to the SolarChineseGapJa calendar
final String string = Jiffy.parse('1997-09-23').toSolarChineseGapJaString();
// print: 丁丑年 己酉月 戊辰日
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.