iso_calendar 0.0.5 copy "iso_calendar: ^0.0.5" to clipboard
iso_calendar: ^0.0.5 copied to clipboard

outdated

Dart package for calculating a number of years and week numbers based on ISO-8601.

example/main.dart

import 'package:iso_calendar/iso_calendar.dart';

void main() {
  final isoCalendar = IsoCalendar.fromDateTime(DateTime(2021, 1, 1));
  print(isoCalendar.year); // 2020
  print(isoCalendar.weekNumber); // 52
}
5
likes
0
pub points
60%
popularity

Publisher

verified publisheriktakahiro.dev

Dart package for calculating a number of years and week numbers based on ISO-8601.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta

More

Packages that depend on iso_calendar