Package net.i2p.router.time
Class Zones
java.lang.Object
net.i2p.router.time.Zones
Country to continent mapping for NTP.
- Since:
- 0.9.20
-
Constructor Summary
ConstructorDescriptionZones
(I2PAppContext ctx) Reads in the file in the constructor, so hold onto this. -
Method Summary
-
Constructor Details
-
Zones
Reads in the file in the constructor, so hold onto this.
-
-
Method Details
-
getZone
Get the NTP zone for a country- Parameters:
country
- non-null, two letter code, case-independent- Returns:
- lower-case NTP zone, e.g. "africa", or null
-