hijri_calendar 1.0.1+2 copy "hijri_calendar: ^1.0.1+2" to clipboard
hijri_calendar: ^1.0.1+2 copied to clipboard

A Dart library for Islamic dates. Explore the Hijri calendar with ease. Perfect for integrating Islamic date functionalities into your applications.

example/hijri_calendar_example.dart

import 'package:hijri_calendar/src/config/hijri_config.dart';

void main() {
  final datetimes = [
    DateTime(2014, 06, 04),
    DateTime(2019, 06, 04),
    DateTime(2024, 06, 04),
    DateTime(2024, 10, 05),
    DateTime(2029, 06, 04),
    DateTime(2034, 06, 04),
  ];
  for (var datetime in datetimes) {
    final hijridate = HijriCalendarConfig.fromGregorian(datetime);
    print(hijridate);
  }
}
5
likes
0
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart library for Islamic dates. Explore the Hijri calendar with ease. Perfect for integrating Islamic date functionalities into your applications.

Repository (GitHub)
View/report issues

Topics

#calendar #hijri #date #islamic-calendar #time

Documentation

Documentation

License

unknown (license)

More

Packages that depend on hijri_calendar