4 writes to _threadCalendar
System.Web.Mobile (4)
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (4)
327
_threadCalendar
= currentDateTimeInfo.Calendar;
815
_threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
861
_threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
883
_threadCalendar
= DateTimeFormatInfo.CurrentInfo.Calendar;
17 references to _threadCalendar
System.Web.Mobile (17)
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (17)
460
tempDate =
_threadCalendar
.AddMonths(tempDate, 1);
495
tempDate =
_threadCalendar
.AddDays(tempDate, 6);
498
tempDate =
_threadCalendar
.AddDays(tempDate, 1);
547
tempDate =
_threadCalendar
.AddDays(tempDate, 1);
696
_threadCalendar
.GetDayOfWeek(dateTime));
765
return
_threadCalendar
.AddDays(
767
-(
_threadCalendar
.GetDayOfMonth(visibleDate) - 1));
776
((int)
_threadCalendar
.GetDayOfWeek(firstDayOfMonth)) -
784
return
_threadCalendar
.AddDays(firstDayOfMonth, -daysFromLastMonth);
820
Control.VisibleDate =
_threadCalendar
.AddMonths(
827
Control.VisibleDate =
_threadCalendar
.AddMonths(
834
Control.VisibleDate =
_threadCalendar
.AddMonths(
844
DateTime endDate =
_threadCalendar
.AddMonths(beginDate, 1);
845
endDate =
_threadCalendar
.AddDays(endDate, -1);
865
Control.VisibleDate =
_threadCalendar
.AddDays(tempDate, e.ListItem.Index * 7);
870
DateTime endDate =
_threadCalendar
.AddDays(Control.VisibleDate, 6);
887
Control.VisibleDate =
_threadCalendar
.AddDays(Control.VisibleDate, e.ListItem.Index);