代替ライブラリ
異なるプロジェクトには異なる設計目標(速度、精度、データソースなど)があることにご注意ください。ご自身のユースケースに最適なものをご自身で調査してください。
このページはすべての代替ライブラリの完全なリストではありません。
まず evansiroky/timezone-boundary-builder の Lookup Libraries セクションを確認することをお勧めします。
Stack Overflow の関連質問もあります:How to get a time zone from a location using latitude and longitude coordinates?
速度・メモリ・精度の比較
以下のレーダーチャートは、tz-benchmark の継続的ベンチマーク結果に基づき、 Go・Python・Rust の主要なタイムゾーン検索パッケージを検索速度・ピークメモリ・精度(誤判定率)の 3 軸で比較したものです。 3 軸とも共通の対数スケールを使用しており、外側にあるほど優れています。チャート下のパッケージ名をクリックすると詳細な数値が表示されます。
Go
- https://github.com/ringsaturn/tzf
- https://github.com/bradfitz/latlong
- https://github.com/evanoberholster/timezoneLookup
- https://github.com/albertyw/localtimezone/
- https://github.com/ugjka/go-tz
- https://github.com/zsefvlol/timezonemapper
Rust
- https://github.com/ringsaturn/tzf-rs
- https://github.com/twitchax/rtz
- https://github.com/huonw/tz-search
- https://github.com/nicholasbishop/zone-detect-rs
- https://github.com/moranbw/spatialtime
Python
- https://github.com/ringsaturn/tzfpy
- https://github.com/jannikmi/timezonefinder
- tzfpy との比較を参照:Comparison to tzfpy および tzfpy の issue:
ringsaturn/tzfpy#94
- tzfpy との比較を参照:Comparison to tzfpy および tzfpy の issue:
- https://github.com/pegler/pytzwhere
Ruby
Swift
データベース
最終更新日