C# 클래스 TimeZoneMapper.TimeZoneMap

Provides easy access to different "built-in" types of ITZMappers.
The static properties and/or methods on this class are mostly convenience methods/properties; if you need more control (such as using a specific uri, cache TTL or timeout value for the OnlineValuesTZMapper or other options not provided by the "built-in" TZMappers/resources returned here) then you will need to instantiate your own instance (and maybe even implement your own ITZMapper).
파일 보기 프로젝트 열기: RobThree/TimeZoneMapper

공개 메소드들

메소드 설명
CreateOnlineWithSpecificFallbackValuesTZMapper ( ITZMapper fallbacktzmapper ) : ITZMapper

Creates a ITZMapper that tries to use the online resource and, when unreachable or otherwise problematic, uses the specified ITZMapper as fallback.

CreateOnlineWithSpecificFallbackValuesTZMapper ( Uri resourceuri, ITZMapper fallbacktzmapper ) : ITZMapper

Creates a ITZMapper that tries to use the online resource and, when unreachable or otherwise problematic, uses the specified ITZMapper as fallback.

비공개 메소드들

메소드 설명
TimeZoneMap ( ) : System

메소드 상세

CreateOnlineWithSpecificFallbackValuesTZMapper() 공개 정적인 메소드

Creates a ITZMapper that tries to use the online resource and, when unreachable or otherwise problematic, uses the specified ITZMapper as fallback.
public static CreateOnlineWithSpecificFallbackValuesTZMapper ( ITZMapper fallbacktzmapper ) : ITZMapper
fallbacktzmapper ITZMapper /// The to use when the default fails for any /// reason. ///
리턴 ITZMapper

CreateOnlineWithSpecificFallbackValuesTZMapper() 공개 정적인 메소드

Creates a ITZMapper that tries to use the online resource and, when unreachable or otherwise problematic, uses the specified ITZMapper as fallback.
public static CreateOnlineWithSpecificFallbackValuesTZMapper ( Uri resourceuri, ITZMapper fallbacktzmapper ) : ITZMapper
resourceuri System.Uri The URI to use when retrieving CLDR data.
fallbacktzmapper ITZMapper /// The to use when the default fails for any /// reason. ///
리턴 ITZMapper