X hits on this document

218 views

0 shares

0 downloads

0 comments

51 / 67

CUSTOM CULTURES

, “” }; dateTimeFormatInfo.MonthNames = new string[] {, ,

“” };

dateTimeFormatInfo.AbbreviatedMonthGenitiveNames =

new string[]

{

,

, “” }; dateTimeFormatInfo.MonthGenitiveNames = new string[] ,

{

};

dateTimeFormatInfo.AMDesignator = “

”;

dateTimeFormatInfo.CalendarWeekRule = CalendarWeekRule.FirstDay; dateTimeFormatInfo.DateSeparator = “-”; dateTimeFormatInfo.FirstDayOfWeek = DayOfWeek.Monday; dateTimeFormatInfo.FullDateTimePattern = “dd MMMM yyyy HH:mm:ss”;

dateTimeFormatInfo.LongDatePattern = “dd MMMM yyyy”; dateTimeFormatInfo.LongTimePattern = “HH:mm:ss”; dateTimeFormatInfo.MonthDayPattern = “dd MMMM”; dateTimeFormatInfo.PMDesignator = “ ”; dateTimeFormatInfo.ShortDatePattern = “dd-MM-yyyy”; dateTimeFormatInfo.ShortTimePattern = “HH:mm”; dateTimeFormatInfo.TimeSeparator = “:”; dateTimeFormatInfo.YearMonthPattern = “MMMM, yyyy”;

return dateTimeFormatInfo;

}

Note

The Calendar object must be assigned to the DateTimeFormat- Info.Calendar property before day and month names are assigned because setting the Calendar property resets these values.

The Bengali (Bangladesh) culture can now be used like any other .NET Framework culture.

Pseudo Translation Custom Culture

The Pseudo Translation custom culture is another custom culture that is created without drawing upon any existing culture or region information. The purpose of

27

Document info
Document views218
Page views218
Page last viewedWed Jan 18 23:21:56 UTC 2017
Pages67
Paragraphs859
Words13458

Comments