ethio_holidays 0.1.0 copy "ethio_holidays: ^0.1.0" to clipboard
ethio_holidays: ^0.1.0 copied to clipboard

Computes Ethiopian public and religious holidays dynamically for any Gregorian year. Includes fixed holidays, Orthodox movable feasts, and tabular Islamic estimates.

example/main.dart

import 'package:ethio_holidays/ethio_holidays.dart';

void main() {
  final years = [2026, 2027];

  for (final year in years) {
    print('\n================================');
    print('  ETHIOPIAN HOLIDAYS FOR $year');
    print('================================');
    
    final holidays = holidaysForYear(year);
    
    for (final holiday in holidays) {
      final dateStr = holiday.date.toString().substring(0, 10);
      final estimatedStr = holiday.isEstimated ? ' (Estimated ±1 day)' : '';
      
      print('$dateStr | ${holiday.name.padRight(25)} | ${holiday.nameAmharic}$estimatedStr');
    }
  }
}
0
likes
160
points
86
downloads

Documentation

API reference

Publisher

verified publisherabroid.dev

Weekly Downloads

Computes Ethiopian public and religious holidays dynamically for any Gregorian year. Includes fixed holidays, Orthodox movable feasts, and tabular Islamic estimates.

Repository (GitHub)
View/report issues

Topics

#ethiopia #calendar #holidays #date

License

MIT (license)

Dependencies

ethio_calendar

More

Packages that depend on ethio_holidays