badi_date 1.0.0
badi_date: ^1.0.0 copied to clipboard

A Baha'i Calendar (Badi Calendar) library to convert dates from and to Georgian Dates.

badi_date #

A library to convert Dart DateTime to Badi date and back.

Usage Example #

import 'package:badi_date/badi_date.dart';

final date1 = BadiDate(day: 1, month: 1, year: 178);
final date2 = BadiDate.fromDate(DateTime.now());

final DateTime start = date1.startDateTime;
final DateTime end = date1.endDateTime;
final BahaiHolyDayEnum holyDay = date1.holyDay;
final bool = date2.isPeriodOfFast;
final bool = date2.isAyyamIHa;
final BadiDate nextHolyDay = date2.nextHolyDate;

0
likes
130
pub points
16%
popularity

Publisher

good-gui.de

A Baha'i Calendar (Badi Calendar) library to convert dates from and to Georgian Dates.

Homepage

Documentation

API reference

License

BSD (LICENSE)

Dependencies

dart_suncalc

More

Packages that depend on badi_date