drtimcooper / LatLongToTimezone

Lat/long to timezone mapper in Java. Does not require web services or data files - just pure Java or Swift.
MIT License
167 stars 33 forks source link

Invalid value: Valid value range is empty: 2621 - Asia/Jakarta #44

Open cakhandi95 opened 1 year ago

cakhandi95 commented 1 year ago

Longitude : 113.698836 latitude : -8.216944.

It should be Timezone Asia Jakarta

Unhandled exception: RangeError (index): Invalid value: Valid value range is empty: 2621

0 List.[] (dart:core-patch/growable_array.dart:264:36)

1 TimeZoneMapping.call47 (package:untitled/timezone_mapping.dart:14770:15)

2 TimeZoneMapping.getTzInt (package:untitled/timezone_mapping.dart:660:14)

3 TimeZoneMapping.latLngToTimezoneString (package:untitled/timezone_mapping.dart:39:35)

4 main (file:///Users/it/Documents/BCP-Projects/gitlab/untitled/bin/untitled.dart:7:40)

5 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:294:33)

6 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189:12)