X hits on this document

178 views

0 shares

0 downloads

0 comments

50 / 67

26

.NET INTERNATIONALIZATION

numberFormat numberFormat numberFormat numberFormat

Info.CurrencySymbol = “BDT”; Info.DigitSubstitution = DigitShapes.None; Info.NaNSymbol = “NaN”; Info.NativeDigits = new string[]

{ numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat numberFormat return numbe

};

Info.NegativeInfinitySymbol = “-Infinity”; Info.NegativeSign = “-”; Info.NumberDecimalDigits = 2; Info.NumberDecimalSeparator = “.”; Info.NumberGroupSeparator = “,”; Info.NumberGroupSizes = new int[] Info.NumberNegativePattern = 1; Info.PercentDecimalDigits = 2; Info.PercentDecimalSeparator = “.”; Info.PercentGroupSeparator = “,”; Info.PercentGroupSizes = new int[] Info.PercentNegativePattern = 0; Info.PercentPositivePattern = 0; Info.PercentSymbol = “%”; Info.PerMilleSymbol = “‰”; Info.PositiveInfinitySymbol = “Infinity”; Info.PositiveSign = “+”; rFormatInfo; { 3, 2 }; { 3, 2 };

}

The CultureAndRegionInfoBuilder.DateTimeFormatInfo is assigned from the CreateBangladeshDateTimeFormatInfo method:

private static DateTimeFormatInfo CreateBangladeshDateTimeFormatInfo() {

Calendar calendar = new GregorianCalendar(GregorianCalendarTypes.Localized);

DateTimeFormatInfo dateTimeFormatInfo = new DateTimeFormatInfo();

dateTimeFormatInfo.Calendar = calendar;

dateTimeFormatInfo.AbbreviatedDayNames = new string[]

{

};

dateTimeFormatInfo.DayNames = new string[] {“ }; dateTimeFormatInfo.ShortestDayNames = new string[] {

,

};

dateTimeFormatInfo.AbbreviatedMonthNames = new string[] {,

Document info
Document views178
Page views178
Page last viewedThu Dec 08 23:04:27 UTC 2016
Pages67
Paragraphs859
Words13458

Comments