Changeset 1802 for trunk/eraser6/Eraser.Manager/Schedule.cs
- Timestamp:
- 2/10/2010 9:08:32 AM (3 years ago)
- Location:
- trunk/eraser6
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Eraser.Manager/Schedule.cs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser6
- Property svn:mergeinfo changed
/branches/eraser6/CodeReview (added) merged: 1519-1801
- Property svn:mergeinfo changed
-
trunk/eraser6/Eraser.Manager/Schedule.cs
r1675 r1802 273 273 if (ScheduleType != RecurringScheduleUnit.Daily && ScheduleType != RecurringScheduleUnit.Weekly && 274 274 ScheduleType != RecurringScheduleUnit.Monthly) 275 throw new InvalidOperationException( S._("The ScheduleUnit of the schedule " +276 "does not require a frequency value, this field would contain garbage.") );275 throw new InvalidOperationException("The ScheduleUnit of the schedule " + 276 "does not require a frequency value, this field would contain garbage."); 277 277 278 278 return frequency; … … 314 314 { 315 315 if (ScheduleType != RecurringScheduleUnit.Weekly) 316 throw new InvalidOperationException( S._("The ScheduleUnit of the schedule " +317 "does not require the WeeklySchedule value, this field would contain garbage") );316 throw new InvalidOperationException("The ScheduleUnit of the schedule " + 317 "does not require the WeeklySchedule value, this field would contain garbage"); 318 318 319 319 return weeklySchedule; … … 340 340 { 341 341 if (ScheduleType != RecurringScheduleUnit.Monthly) 342 throw new InvalidOperationException( S._("The ScheduleUnit of the schedule does " +343 "not require the MonthlySchedule value, this field would contain garbage") );342 throw new InvalidOperationException("The ScheduleUnit of the schedule does " + 343 "not require the MonthlySchedule value, this field would contain garbage"); 344 344 345 345 return monthlySchedule; … … 470 470 { 471 471 if (ScheduleType != RecurringScheduleUnit.Weekly) 472 throw new ArgumentException( S._("The ScheduleUnit of the schedule does " +473 "not use the WeeklySchedule value, this field would contain garbage") );472 throw new ArgumentException("The ScheduleUnit of the schedule does " + 473 "not use the WeeklySchedule value, this field would contain garbage"); 474 474 return ((int)weeklySchedule & (1 << (int)date.DayOfWeek)) != 0; 475 475 }
Note: See TracChangeset
for help on using the changeset viewer.
