timezone_finder 0.2.0
timezone_finder: ^0.2.0 copied to clipboard
Makes package:timezone easier to use — turn a place on Earth into the Location it sits in, convert a TZDateTime from one Location to another, and read English time zone labels.
Examples #
Two small programs — each entrypoint is a main.dart you can run directly.
| Target | Entry | Run |
|---|---|---|
| VM / CLI | main.dart |
dart run example/main.dart |
| Local HTTP | server/main.dart |
cd example/server && dart pub get && dart run |
main.dart— geocode four university hospitals, schedule a UTC-anchored conference call, print local start/end times (dart:io, embedded boundaries).server/main.dart— Shelf +shelf_routerdeparture board for Zurich Airport (ZRH). Takeoff is Zurich-local; landing is destination-local after the flight duration (findLocation+TZDateTime). Open http://localhost:8080/
Browser / Flutter web init (initializeTimeZone + installBoundaries) is
documented in the package README’s
Dart web and
Flutter web sections.