56 references to CurrentInfo
mscorlib (13)
system\datetime.cs (8)
1294return (DateTimeParse.Parse(s, DateTimeFormatInfo.CurrentInfo, DateTimeStyles.None)); 1424return DateTimeFormat.Format(this, "D", DateTimeFormatInfo.CurrentInfo); 1429return DateTimeFormat.Format(this, "T", DateTimeFormatInfo.CurrentInfo); 1434return DateTimeFormat.Format(this, "d", DateTimeFormatInfo.CurrentInfo); 1439return DateTimeFormat.Format(this, "t", DateTimeFormatInfo.CurrentInfo); 1444return DateTimeFormat.Format(this, null, DateTimeFormatInfo.CurrentInfo); 1449return DateTimeFormat.Format(this, format, DateTimeFormatInfo.CurrentInfo); 1467return DateTimeParse.TryParse(s, DateTimeFormatInfo.CurrentInfo, DateTimeStyles.None, out result);
system\datetimeoffset.cs (4)
595DateTimeFormatInfo.CurrentInfo, 705return DateTimeFormat.Format(ClockDateTime, null, DateTimeFormatInfo.CurrentInfo, Offset); 710return DateTimeFormat.Format(ClockDateTime, format, DateTimeFormatInfo.CurrentInfo, Offset); 731DateTimeFormatInfo.CurrentInfo,
system\globalization\datetimeformatinfo.cs (1)
552return CurrentInfo;
System.Runtime.Serialization (1)
System\Runtime\Serialization\DateTimeFormat.cs (1)
25public DateTimeFormat(string formatString) : this(formatString, DateTimeFormatInfo.CurrentInfo)
System.Web (12)
UI\WebControls\basecomparevalidator.cs (5)
145DateTimeFormatInfo info = DateTimeFormatInfo.CurrentInfo; 175return DateTimeFormatInfo.CurrentInfo.Calendar.TwoDigitYearMax; 185return DateTimeFormatInfo.CurrentInfo.Calendar.ToFourDigitYear(shortYear); 231if (!(DateTimeFormatInfo.CurrentInfo.Calendar.GetType() == typeof(GregorianCalendar))) { 454if (Type == ValidationDataType.Date && DateTimeFormatInfo.CurrentInfo.Calendar.GetType() != typeof(GregorianCalendar)) {
UI\WebControls\Calendar.cs (7)
988return DateTimeFormatInfo.CurrentInfo.GetMonthName(m); 991return DateTimeFormatInfo.CurrentInfo.GetAbbreviatedMonthName(m); 1101? (int) DateTimeFormatInfo.CurrentInfo.FirstDayOfWeek 1177VisibleDate = DateTimeFormatInfo.CurrentInfo.Calendar.AddDays(VisibleDate, 1); 1224threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar; 1361DateTimeFormatInfo dtf = DateTimeFormatInfo.CurrentInfo; 1751string titlePattern = DateTimeFormatInfo.CurrentInfo.YearMonthPattern;
System.Web.Mobile (30)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (10)
285DateTimeFormatInfo currentInfo = DateTimeFormatInfo.CurrentInfo; 342DateTimeFormatInfo currentDateTimeInfo = DateTimeFormatInfo.CurrentInfo; 607DateTimeFormatInfo currentInfo = DateTimeFormatInfo.CurrentInfo; 718return DateTimeFormatInfo.CurrentInfo.GetAbbreviatedDayName( 726if (DateTimeFormatInfo.CurrentInfo.Calendar.GetType() == 743DateTimeFormatInfo.CurrentInfo.ShortDatePattern; 814? (int) DateTimeFormatInfo.CurrentInfo.FirstDayOfWeek 843_threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar; 889_threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar; 911_threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar;
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (10)
268DateTimeFormatInfo currentInfo = DateTimeFormatInfo.CurrentInfo; 325DateTimeFormatInfo currentDateTimeInfo = DateTimeFormatInfo.CurrentInfo; 584DateTimeFormatInfo currentInfo = DateTimeFormatInfo.CurrentInfo; 695return DateTimeFormatInfo.CurrentInfo.GetAbbreviatedDayName( 703if (DateTimeFormatInfo.CurrentInfo.Calendar.GetType() == 720DateTimeFormatInfo.CurrentInfo.ShortDatePattern; 791? (int) DateTimeFormatInfo.CurrentInfo.FirstDayOfWeek 815_threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar; 861_threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar; 883_threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (10)
244DateTimeFormatInfo currentInfo = DateTimeFormatInfo.CurrentInfo; 293DateTimeFormatInfo currentDateTimeInfo = DateTimeFormatInfo.CurrentInfo; 540DateTimeFormatInfo currentInfo = DateTimeFormatInfo.CurrentInfo; 640return DateTimeFormatInfo.CurrentInfo.GetAbbreviatedDayName( 647if (DateTimeFormatInfo.CurrentInfo.Calendar.GetType() == 661DateTimeFormatInfo.CurrentInfo.ShortDatePattern; 723? (int) DateTimeFormatInfo.CurrentInfo.FirstDayOfWeek 749_threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar; 789_threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar; 808_threadCalendar = DateTimeFormatInfo.CurrentInfo.Calendar;