메소드 | 설명 | |
---|---|---|
AddCityInfo ( |
Add a city info to city info List
|
|
Initialize ( CitySet cities ) : bool |
initialize function
|
|
PlaceInfo ( CitySet cities ) : System |
class PlaceInfo's constructor
|
|
TryGetCityInfo ( string cityName, |
try to get city info according to city name
|
|
TryGetCityNameTimeZone ( |
try to get city name according to CityInfo
|
|
TryGetTimeZoneNumber ( string timeZoneString ) : double |
try to get TimeZone's number from a string
|
|
TryGetTimeZoneString ( double timeZoneNumber ) : string |
try to get city's timezone
|
메소드 | 설명 | |
---|---|---|
InitCities ( CitySet cities ) : bool |
initialize cities
|
|
InitTimeZone ( ) : bool |
initialize timezone
|
public AddCityInfo ( |
||
cityInfo | the city info need to add | |
리턴 | void |
public Initialize ( CitySet cities ) : bool | ||
cities | CitySet | a set store all cities |
리턴 | bool |
public TryGetCityInfo ( string cityName, |
||
cityName | string | city name |
cityInfo | city's information | |
리턴 | bool |
public TryGetCityNameTimeZone ( |
||
cityInfo | store information about city | |
cityName | string | city's name |
timeZone | double | city's timezone |
리턴 | bool |
public TryGetTimeZoneNumber ( string timeZoneString ) : double | ||
timeZoneString | string | a string store TimeZone |
리턴 | double |
public TryGetTimeZoneString ( double timeZoneNumber ) : string | ||
timeZoneNumber | double | time zone |
리턴 | string |