duration_iso_parser

Creator: coderz1093

Last updated:

0 purchases

duration_iso_parser Image
duration_iso_parser Images

Languages

Categories

Add to Cart

Description:

duration iso parser

duration_iso_parser #



Package for parsing ISO 8601 durations string
to the Duration object.
For now it's not support negative values and decimal fraction.
Features #
Parse string of duration in ISO 8601 format and get Duration object.
For year used 365 days and for month - 30 days.
Getting started #
Add duration_iso_parser as a dependency in your pubspec.yaml file.
Usage #
const parser = DurationParser();

final duration = parser.parse('P2W');
print(duration); // 336:00:00.000000
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.