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