4 writes to _threadCalendar
System.Web.Mobile (4)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (4)
295
_threadCalendar
= currentDateTimeInfo.Calendar;
749
_threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
789
_threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
808
_threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
17 references to _threadCalendar
System.Web.Mobile (17)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (17)
421
tempDate =
_threadCalendar
.AddMonths(tempDate, 1);
455
tempDate =
_threadCalendar
.AddDays(tempDate, 6);
458
tempDate =
_threadCalendar
.AddDays(tempDate, 1);
502
tempDate =
_threadCalendar
.AddDays(tempDate, 1);
641
_threadCalendar
.GetDayOfWeek(dateTime));
700
return
_threadCalendar
.AddDays(
702
-(
_threadCalendar
.GetDayOfMonth(visibleDate) - 1));
710
((int)
_threadCalendar
.GetDayOfWeek(firstDayOfMonth)) -
717
return
_threadCalendar
.AddDays(firstDayOfMonth, -daysFromLastMonth);
753
Control.VisibleDate =
_threadCalendar
.AddMonths(
759
Control.VisibleDate =
_threadCalendar
.AddMonths(
765
Control.VisibleDate =
_threadCalendar
.AddMonths(
774
DateTime endDate =
_threadCalendar
.AddMonths(beginDate, 1);
775
endDate =
_threadCalendar
.AddDays(endDate, -1);
793
Control.VisibleDate =
_threadCalendar
.AddDays(tempDate, e.ListItem.Index * 7);
797
DateTime endDate =
_threadCalendar
.AddDays(Control.VisibleDate, 6);
812
Control.VisibleDate =
_threadCalendar
.AddDays(Control.VisibleDate, e.ListItem.Index);