time_span

Creator: coderz1093

Last updated:

0 purchases

time_span Image
time_span Images

Languages

Categories

Add to Cart

Description:

time span

A Dart library that parses two time strings of format HH:MM and calculates the time span in minutes as int or hours as double.
Usage #
A simple usage example:
import 'package:time_span/time_span.dart';

void main() {
var timeSpan = TimeSpan('09:00', '21:30');
print('Time span in hours: ${timeSpan.inHours}'); // 12.5
print('Time span in inMinutes: ${timeSpan.inMinutes}'); // 750
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

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.