{"id":26999844,"url":"https://github.com/andreewille/time-span","last_synced_at":"2025-04-04T03:18:04.819Z","repository":{"id":56841297,"uuid":"234546403","full_name":"AndreeWille/time-span","owner":"AndreeWille","description":"a dart library that calculates the time span in hours or minutes for two given time strings of format HH:SS","archived":false,"fork":false,"pushed_at":"2021-05-27T08:49:58.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T03:17:59.000Z","etag":null,"topics":["dart","dartlang","duration","library","string","time","time-calculator","time-spans"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndreeWille.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-17T12:42:33.000Z","updated_at":"2022-01-31T08:48:15.000Z","dependencies_parsed_at":"2022-08-29T06:50:32.777Z","dependency_job_id":null,"html_url":"https://github.com/AndreeWille/time-span","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeWille%2Ftime-span","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeWille%2Ftime-span/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeWille%2Ftime-span/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeWille%2Ftime-span/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreeWille","download_url":"https://codeload.github.com/AndreeWille/time-span/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247112756,"owners_count":20885606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","dartlang","duration","library","string","time","time-calculator","time-spans"],"created_at":"2025-04-04T03:18:04.127Z","updated_at":"2025-04-04T03:18:04.801Z","avatar_url":"https://github.com/AndreeWille.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"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.\n\n## Usage\n\nA simple usage example:\n\n```dart\nimport 'package:time_span/time_span.dart';\n\nvoid main() {\n  var timeSpan = TimeSpan('09:00', '21:30');\n  print('Time span in hours: ${timeSpan.inHours}'); // 12.5\n  print('Time span in inMinutes: ${timeSpan.inMinutes}'); // 750\n}\n```\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/AndreeWille/time-span/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreewille%2Ftime-span","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreewille%2Ftime-span","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreewille%2Ftime-span/lists"}