- Timestamp:
- 11/23/16 16:08:14 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/TableFileParser.cs
r14296 r14408 28 28 using System.IO; 29 29 using System.Linq; 30 using System.Runtime.Serialization;31 30 using System.Text; 32 31 … … 559 558 doubleVals[i] = doubleVal; 560 559 } else if (DateTime.TryParse(tok, dateTimeFormatInfo, DateTimeStyles.NoCurrentDateDefault, out dateTimeValue) 561 && dateTimeValue.Year > 1 && dateTimeValue.Month > 1 && dateTimeValue.Day > 1// if no date is given it is returned as 1.1.0001 -> don't allow this560 && (dateTimeValue.Year > 1 || dateTimeValue.Month > 1 || dateTimeValue.Day > 1)// if no date is given it is returned as 1.1.0001 -> don't allow this 562 561 ) { 563 562 type = TokenTypeEnum.DateTime;
Note: See TracChangeset
for help on using the changeset viewer.