1 write to threadCalendar
System.Web (1)
UI\WebControls\Calendar.cs (1)
1224
threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
33 references to threadCalendar
System.Web (33)
UI\WebControls\Calendar.cs (33)
911
return
threadCalendar
.AddDays(visDate, -(
threadCalendar
.GetDayOfMonth(visDate) - 1));
926
int daysFromLastMonth = ((int)
threadCalendar
.GetDayOfWeek(firstDayOfMonth)) - NumericFirstDayOfWeek();
931
return
threadCalendar
.AddDays(firstDayOfMonth, -daysFromLastMonth);
1009
return (
threadCalendar
.GetEra(date1) ==
threadCalendar
.GetEra(date2) &&
1010
threadCalendar
.GetYear(date1) ==
threadCalendar
.GetYear(date2) &&
1011
threadCalendar
.GetMonth(date1) ==
threadCalendar
.GetMonth(date2));
1225
minSupportedDate =
threadCalendar
.MinSupportedDateTime;
1226
maxSupportedDate =
threadCalendar
.MaxSupportedDateTime;
1373
int monthLength =
threadCalendar
.GetDaysInMonth(
threadCalendar
.GetYear(visibleDate),
threadCalendar
.GetMonth(visibleDate),
threadCalendar
.GetEra(visibleDate));
1377
monthLength = monthLength -
threadCalendar
.GetDayOfMonth(visibleDate) + 1;
1382
monthLength =
threadCalendar
.GetDayOfMonth(maxSupportedDate);
1465
bool usesStandardDayDigits = !(
threadCalendar
is HebrewCalendar);
1477
int visibleDateMonth =
threadCalendar
.GetMonth(visibleDate);
1495
numOfFirstDaysToSkip = (int)
threadCalendar
.GetDayOfWeek(firstDay) - NumericFirstDayOfWeek();
1511
DateTime secondLastMonth =
threadCalendar
.AddMonths(maxSupportedDate, -1);
1569
int dayOfWeek = (int)
threadCalendar
.GetDayOfWeek(d);
1570
int dayOfMonth =
threadCalendar
.GetDayOfMonth(d);
1583
threadCalendar
.GetMonth(d) != visibleDateMonth, // IsOtherMonth
1655
d =
threadCalendar
.AddDays(d, 1);
1699
int monthNo =
threadCalendar
.GetMonth(
threadCalendar
.AddMonths(visibleDate, - 1));
1714
DateTime secondSupportedMonth =
threadCalendar
.AddMonths(minSupportedDate, 1);
1719
prevMonthDate =
threadCalendar
.AddMonths(visibleDate, -1);
1775
int monthNo =
threadCalendar
.GetMonth(
threadCalendar
.AddMonths(visibleDate, 1));
1783
DateTime nextMonthDate =
threadCalendar
.AddMonths(visibleDate, 1);