Changeset 5037 for branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.LINQDataAccess/3.3/JobDao.cs
- Timestamp:
- 12/06/10 17:09:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.LINQDataAccess/3.3/JobDao.cs
r5000 r5037 250 250 target.JobId = source.Id; 251 251 252 target.ExecutionTime = source.ExecutionTime ;252 target.ExecutionTime = source.ExecutionTime.ToString(); 253 253 target.Exception = source.Exception; 254 254 … … 283 283 284 284 target.Exception = source.Exception; 285 target.ExecutionTime = source.ExecutionTime.HasValue ? source.ExecutionTime.Value : TimeSpan.Zero; 285 TimeSpan ts; 286 if (!TimeSpan.TryParse(source.ExecutionTime, out ts)) ts = TimeSpan.Zero; 287 target.ExecutionTime = ts; 286 288 287 289 target.Priority = source.Priority;
Note: See TracChangeset
for help on using the changeset viewer.