4 writes to _threadCalendar
System.Web.Mobile (4)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (4)
344
_threadCalendar
= currentDateTimeInfo.Calendar;
843
_threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
889
_threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
911
_threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
17 references to _threadCalendar
System.Web.Mobile (17)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (17)
478
tempDate =
_threadCalendar
.AddMonths(tempDate, 1);
513
tempDate =
_threadCalendar
.AddDays(tempDate, 6);
516
tempDate =
_threadCalendar
.AddDays(tempDate, 1);
565
tempDate =
_threadCalendar
.AddDays(tempDate, 1);
719
_threadCalendar
.GetDayOfWeek(dateTime));
788
return
_threadCalendar
.AddDays(
790
-(
_threadCalendar
.GetDayOfMonth(visibleDate) - 1));
799
((int)
_threadCalendar
.GetDayOfWeek(firstDayOfMonth)) -
807
return
_threadCalendar
.AddDays(firstDayOfMonth, -daysFromLastMonth);
848
Control.VisibleDate =
_threadCalendar
.AddMonths(
855
Control.VisibleDate =
_threadCalendar
.AddMonths(
862
Control.VisibleDate =
_threadCalendar
.AddMonths(
872
DateTime endDate =
_threadCalendar
.AddMonths(beginDate, 1);
873
endDate =
_threadCalendar
.AddDays(endDate, -1);
893
Control.VisibleDate =
_threadCalendar
.AddDays(tempDate, e.ListItem.Index * 7);
898
DateTime endDate =
_threadCalendar
.AddDays(Control.VisibleDate, 6);
915
Control.VisibleDate =
_threadCalendar
.AddDays(Control.VisibleDate, e.ListItem.Index);