C# 클래스 NCldr.Extensions.CultureInfoExtensions

CultureInfoExtensions is a collection of extension methods for the CultureInfo class to access CLDR data as well as static methods to access CLDR data from culture names
파일 보기 프로젝트 열기: GuySmithFerrier/NCLDR

공개 메소드들

메소드 설명
GetCasing ( this cultureInfo ) : Casing

GetCasing gets the CLDR Casing for the CultureInfo

GetCharacters ( this cultureInfo ) : Characters

GetCharacters gets the CLDR Characters for the CultureInfo

GetDayPeriodRules ( this cultureInfo ) : DayPeriodRule[]

GetDayPeriodRules gets the CLDR DayPeriodRules for the CultureInfo

GetDelimiters ( this cultureInfo ) : Delimiters

GetDelimiters gets the CLDR Delimiters for the CultureInfo

GetGenderListId ( this cultureInfo ) : string

GetGenderListId gets the CLDR GenderList identifier for the CultureInfo

GetLayout ( this cultureInfo ) : Layout

GetLayout gets the CLDR Layout for the CultureInfo

GetLikelySubTag ( this cultureInfo ) : string

GetLikelySubTag gets the most likely child culture name from a parent CultureInfo

GetListPatterns ( this cultureInfo ) : ListPattern[]

GetListPatterns gets the CLDR ListPatterns for the CultureInfo

GetNo ( this cultureInfo ) : string

GetNo gets the localized 'No' string for the CultureInfo

GetNoShort ( this cultureInfo ) : string

GetNo gets the localized short 'No' string for the CultureInfo

GetNumbers ( this cultureInfo ) : Numbers

GetNumbers gets the CLDR Numbers for the CultureInfo

GetOrdinalRule ( this cultureInfo, int value ) : PluralRule

GetOrdinalRule gets the CLDR ordinal PluralRule for the integer for the CultureInfo

GetOrdinalRules ( this cultureInfo ) : PluralRule[]

GetOrdinalRules gets the CLDR ordinal PluralRules for the CultureInfo

GetPluralRule ( this cultureInfo, int value ) : PluralRule

GetPluralRule gets the CLDR PluralRule for the integer for the CultureInfo

GetPluralRules ( this cultureInfo ) : PluralRule[]

GetPluralRules gets the CLDR PluralRules for the CultureInfo

GetPostcodeRegex ( this cultureInfo ) : string

GetPostcodeRegex gets the postal code regular expression for the CultureInfo

GetRegionInformation ( this cultureInfo ) : RegionInformation

GetRegionInformation gets the RegionInformation for the CultureInfo

GetRuleBasedNumberFormatting ( this cultureInfo ) : RuleBasedNumberFormatting

GetRuleBasedNumberFormatting gets the CLDR RuleBasedNumberFormatting for the CultureInfo

GetUnitPatternSets ( this cultureInfo ) : UnitPatternSet[]

GetUnitPatternSets gets the CLDR UnitPatternSets for the CultureInfo

GetYes ( this cultureInfo ) : string

GetYes gets the localized 'Yes' string for the CultureInfo

GetYesShort ( this cultureInfo ) : string

GetYes gets the localized short 'Yes' string for the CultureInfo

비공개 메소드들

메소드 설명
AssertHasRegionInfo ( CultureInfo cultureInfo ) : void

AssertHasRegionInfo throws an exception if the CultureInfo does not have a region

GetNCldrCultureName ( CultureInfo cultureInfo ) : string

GetNCldrCultureName gets an NCLDR culture name from a .NET culture name

GetNeutralCultureInfo ( CultureInfo cultureInfo ) : CultureInfo

GetNeutralCultureInfo gets the neutral culture that the CultureInfo falls back to

메소드 상세

GetCasing() 공개 정적인 메소드

GetCasing gets the CLDR Casing for the CultureInfo
public static GetCasing ( this cultureInfo ) : Casing
cultureInfo this The CultureInfo to get the CLDR Casing for
리턴 Casing

GetCharacters() 공개 정적인 메소드

GetCharacters gets the CLDR Characters for the CultureInfo
public static GetCharacters ( this cultureInfo ) : Characters
cultureInfo this The CultureInfo to get the CLDR Characters for
리턴 Characters

GetDayPeriodRules() 공개 정적인 메소드

GetDayPeriodRules gets the CLDR DayPeriodRules for the CultureInfo
public static GetDayPeriodRules ( this cultureInfo ) : DayPeriodRule[]
cultureInfo this The CultureInfo to get the CLDR DayPeriodRules for
리턴 DayPeriodRule[]

GetDelimiters() 공개 정적인 메소드

GetDelimiters gets the CLDR Delimiters for the CultureInfo
public static GetDelimiters ( this cultureInfo ) : Delimiters
cultureInfo this The CultureInfo to get the CLDR Delimiters for
리턴 Delimiters

GetGenderListId() 공개 정적인 메소드

GetGenderListId gets the CLDR GenderList identifier for the CultureInfo
public static GetGenderListId ( this cultureInfo ) : string
cultureInfo this The CultureInfo to get the CLDR DayPeriodRules for
리턴 string

GetLayout() 공개 정적인 메소드

GetLayout gets the CLDR Layout for the CultureInfo
public static GetLayout ( this cultureInfo ) : Layout
cultureInfo this The CultureInfo to get the CLDR Layout for
리턴 Layout

GetLikelySubTag() 공개 정적인 메소드

GetLikelySubTag gets the most likely child culture name from a parent CultureInfo
public static GetLikelySubTag ( this cultureInfo ) : string
cultureInfo this The CultureInfo to get the sub tag for
리턴 string

GetListPatterns() 공개 정적인 메소드

GetListPatterns gets the CLDR ListPatterns for the CultureInfo
public static GetListPatterns ( this cultureInfo ) : ListPattern[]
cultureInfo this The CultureInfo to get the CLDR ListPatterns for
리턴 ListPattern[]

GetNo() 공개 정적인 메소드

GetNo gets the localized 'No' string for the CultureInfo
public static GetNo ( this cultureInfo ) : string
cultureInfo this The CultureInfo to get the localized 'No' string for
리턴 string

GetNoShort() 공개 정적인 메소드

GetNo gets the localized short 'No' string for the CultureInfo
public static GetNoShort ( this cultureInfo ) : string
cultureInfo this The CultureInfo to get the localized short 'No' string for
리턴 string

GetNumbers() 공개 정적인 메소드

GetNumbers gets the CLDR Numbers for the CultureInfo
public static GetNumbers ( this cultureInfo ) : Numbers
cultureInfo this The CultureInfo to get the Numbers
리턴 System.Numbers

GetOrdinalRule() 공개 정적인 메소드

GetOrdinalRule gets the CLDR ordinal PluralRule for the integer for the CultureInfo
public static GetOrdinalRule ( this cultureInfo, int value ) : PluralRule
cultureInfo this The CultureInfo to get the CLDR ordinal PluralRule for
value int The integer to get the ordinal PluralRule for
리턴 PluralRule

GetOrdinalRules() 공개 정적인 메소드

GetOrdinalRules gets the CLDR ordinal PluralRules for the CultureInfo
public static GetOrdinalRules ( this cultureInfo ) : PluralRule[]
cultureInfo this The CultureInfo to get the CLDR ordinal PluralRules for
리턴 PluralRule[]

GetPluralRule() 공개 정적인 메소드

GetPluralRule gets the CLDR PluralRule for the integer for the CultureInfo
public static GetPluralRule ( this cultureInfo, int value ) : PluralRule
cultureInfo this The CultureInfo to get the CLDR PluralRule for
value int The integer to get the PluralRule for
리턴 PluralRule

GetPluralRules() 공개 정적인 메소드

GetPluralRules gets the CLDR PluralRules for the CultureInfo
public static GetPluralRules ( this cultureInfo ) : PluralRule[]
cultureInfo this The CultureInfo to get the CLDR PluralRules for
리턴 PluralRule[]

GetPostcodeRegex() 공개 정적인 메소드

GetPostcodeRegex gets the postal code regular expression for the CultureInfo
public static GetPostcodeRegex ( this cultureInfo ) : string
cultureInfo this The CultureInfo to get the postal code regular expression for
리턴 string

GetRegionInformation() 공개 정적인 메소드

GetRegionInformation gets the RegionInformation for the CultureInfo
public static GetRegionInformation ( this cultureInfo ) : RegionInformation
cultureInfo this The CultureInfo to get the RegionInformation for
리턴 RegionInformation

GetRuleBasedNumberFormatting() 공개 정적인 메소드

GetRuleBasedNumberFormatting gets the CLDR RuleBasedNumberFormatting for the CultureInfo
public static GetRuleBasedNumberFormatting ( this cultureInfo ) : RuleBasedNumberFormatting
cultureInfo this The CultureInfo to get the RuleBasedNumberFormatting for
리턴 RuleBasedNumberFormatting

GetUnitPatternSets() 공개 정적인 메소드

GetUnitPatternSets gets the CLDR UnitPatternSets for the CultureInfo
public static GetUnitPatternSets ( this cultureInfo ) : UnitPatternSet[]
cultureInfo this The CultureInfo to get the UnitPatternSets for
리턴 UnitPatternSet[]

GetYes() 공개 정적인 메소드

GetYes gets the localized 'Yes' string for the CultureInfo
public static GetYes ( this cultureInfo ) : string
cultureInfo this The CultureInfo to get the localized 'Yes' string for
리턴 string

GetYesShort() 공개 정적인 메소드

GetYes gets the localized short 'Yes' string for the CultureInfo
public static GetYesShort ( this cultureInfo ) : string
cultureInfo this The CultureInfo to get the localized short 'Yes' string for
리턴 string