private void Update_Date_DayOfWeek(global::System.DayOfWeek obj, int phase) { if ((phase & ((1 << 0) | NOT_PHASED)) != 0) { // Views\DailyLog.xaml line 59 if (!isobj11TextDisabled) { XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj11, obj.ToString(), null); } } }
/// <summary> /// Initializes a new instance of the <see cref="T:LFNet.Common.BusinessDay" /> class. /// </summary> /// <param name="dayOfWeek">The day of week this business day represents.</param> /// <param name="startTime">The start time of the business day.</param> /// <param name="endTime">The end time of the business day.</param> public BusinessDay(global::System.DayOfWeek dayOfWeek, TimeSpan startTime, TimeSpan endTime) { if (startTime.TotalDays >= 1.0) { throw new ArgumentOutOfRangeException("startTime", startTime, "The startTime argument must be less then one day."); } if (endTime.TotalDays > 1.0) { throw new ArgumentOutOfRangeException("endTime", endTime, "The endTime argument must be less then one day."); } if (endTime <= startTime) { throw new ArgumentOutOfRangeException("endTime", endTime, "The endTime argument must be greater then startTime."); } this.DayOfWeek = dayOfWeek; this.StartTime = startTime; this.EndTime = endTime; }
/// <summary> /// Initializes a new instance of the <see cref="T:LFNet.Common.BusinessDay" /> class. /// </summary> /// <param name="dayOfWeek">The day of week this business day represents.</param> public BusinessDay(global::System.DayOfWeek dayOfWeek) { this.StartTime = TimeSpan.FromHours(9.0); this.EndTime = TimeSpan.FromHours(17.0); this.DayOfWeek = dayOfWeek; }