C# Class NCldr.Types.Calendar

Exibir arquivo Open project: GuySmithFerrier/NCLDR

Public Methods

Method Description
Combine ( Calendar combinedCalendar, Calendar parentCalendar ) : Calendar

Combine combines a child with a parent as necessary and returns the combined object

Private Methods

Method Description
CombineMonthNameSets ( MonthNameSet combinedMonthNameSets, MonthNameSet parentMonthNameSets ) : MonthNameSet[]

CombineMonthNameSets combines a child with a parent as necessary and returns the combined object

GetDateFormatPattern ( string dateFormatId ) : string

GetDateFormatPattern gets the CLDR date format pattern for the given date format Id

GetDayNames ( string id, string contexts ) : string[]

GetDayNames gets an array of day names for the given DayNameSet Id

GetDayPeriods ( string id ) : DayPeriodName[]

GetDayPeriods gets an array of day period names for the given DayPeriodNameSet Id

GetMonthNames ( string id, string contexts ) : string[]

GetMonthNames gets an array of month names for the given MonthNameSet Id

GetTimeFormatPattern ( string timeFormatId ) : string

GetTimeFormatPattern gets the CLDR time format pattern for the given time format Id

Method Details

Combine() public static method

Combine combines a child with a parent as necessary and returns the combined object
public static Combine ( Calendar combinedCalendar, Calendar parentCalendar ) : Calendar
combinedCalendar Calendar The child object
parentCalendar Calendar The parent object
return Calendar