- Timestamp:
- 06/05/09 14:40:53 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/3.2/ConfigurationManager/UptimeManager.cs
r2021 r2025 72 72 } 73 73 74 public bool isOnline( DateTime time) {74 public bool isOnline() { 75 75 foreach (Appointment app in Appointments) 76 if (( time>= app.StartDate) &&77 ( time<= app.EndDate))76 if ((DateTime.Now >= app.StartDate) && 77 (DateTime.Now <= app.EndDate)) 78 78 return true; 79 79 return false;
Note: See TracChangeset
for help on using the changeset viewer.