Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/07/15 09:23:49 (9 years ago)
Author:
abeham
Message:

#1985: small change to TimeSpanHelper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Common/3.3/TimeSpanHelper.cs

    r12012 r12626  
    5151          case "hour":
    5252          case "hours": result = result.Add(TimeSpan.FromHours(value)); break;
     53          case "m":
    5354          case "min":
    5455          case "minute":
    5556          case "minutes": result = result.Add(TimeSpan.FromMinutes(value)); break;
    5657          case "s":
     58          case "sec":
    5759          case "second":
    5860          case "seconds": result = result.Add(TimeSpan.FromSeconds(value)); break;
Note: See TracChangeset for help on using the changeset viewer.