C# 클래스 NCldr.Extensions.NCldrCustomCulture

NCldrCustomCulture is a custom culture helper class for creating NCLDR custom cultures
파일 보기 프로젝트 열기: GuySmithFerrier/NCLDR

공개 메소드들

메소드 설명
CreateNCldrCultureAndRegionInfoBuilder ( string cldrCultureName, string dotNetCultureName ) : System.Globalization.CultureAndRegionInfoBuilder

Creates a CultureAndRegionInfoBuilder object for the NCLDR culture

Register ( string cldrCultureName, string dotNetCultureName ) : void

Registers the NCLDR culture

비공개 메소드들

메소드 설명
CreateDateTimeFormatInfo ( Culture culture ) : DateTimeFormatInfo

CreateDateTimeFormatInfo creates a .NET DateTimeFormatInfo for the CLDR Culture

CreateNumberFormatInfo ( Culture culture ) : NumberFormatInfo

CreateNumberFormatInfo creates a .NET NumberFormatInfo for the CLDR Culture

GetAvailableCalendars ( Culture culture ) : System.Globalization.Calendar[]

GetAvailableCalendars gets an array of .NET calendars available to the Culture

The list is filtered to include only those .NET Calendars that can be used with custom cultures

GetCalendar ( Types calendar ) : Calendar

GetCalendar returns a .NET Calendar equivalent to a CLDR Calendar

GetParentCultureInfo ( Culture culture ) : CultureInfo

GetParentCultureInfo gets the .NET CultureInfo parent of the NCLDR culture

메소드 상세

CreateNCldrCultureAndRegionInfoBuilder() 공개 정적인 메소드

Creates a CultureAndRegionInfoBuilder object for the NCLDR culture
public static CreateNCldrCultureAndRegionInfoBuilder ( string cldrCultureName, string dotNetCultureName ) : System.Globalization.CultureAndRegionInfoBuilder
cldrCultureName string The name of the CLDR culture from which to create the .NET culture
dotNetCultureName string The name of the .NET custom culture to create
리턴 System.Globalization.CultureAndRegionInfoBuilder

Register() 공개 정적인 메소드

Registers the NCLDR culture
public static Register ( string cldrCultureName, string dotNetCultureName ) : void
cldrCultureName string The name of the CLDR culture from which to create the .NET culture
dotNetCultureName string The name of the .NET custom culture to create
리턴 void