trading_sunday_poland 1.0.3 copy "trading_sunday_poland: ^1.0.3" to clipboard
trading_sunday_poland: ^1.0.3 copied to clipboard

Library to allow checking if there is trading sunday in poland

example/trading_sunday_poland_example.dart

import 'package:trading_sunday_poland/trading_sunday_poland.dart';

void main() {
  TradingSundayPoland.isTodayTradingSunday();
  TradingSundayPoland.isNextSundayTrading();
  TradingSundayPoland.whenIsNextTradingSunday();

  //Get first trading sunday in 2026
  TradingSundayPoland.whenIsNextTradingSunday(DateTime(2026));

  final currentYear = DateTime.now().year;
  final tradingSundays = getTradingSundaysInYear(currentYear);

  print('Trading Sundays in $currentYear:');
  for (final sunday in tradingSundays) {
    print('  - ${sunday.toString().split(' ')[0]}');
  }
}
1
likes
160
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Library to allow checking if there is trading sunday in poland

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

lints

More

Packages that depend on trading_sunday_poland