Changeset 2669 for trunk/sources/HeuristicLab.Data/3.3/DateTimeData.cs
- Timestamp:
- 01/22/10 03:29:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data/3.3/DateTimeData.cs
r2665 r2669 33 33 public sealed class DateTimeData : ValueTypeData<DateTime>, IStringConvertibleData { 34 34 public DateTimeData() : base() { } 35 public DateTimeData(DateTime value) 36 : base() { 37 Value = value; 38 } 35 public DateTimeData(DateTime value) : base(value) { } 39 36 40 37 public override IDeepCloneable Clone(Cloner cloner) { … … 44 41 } 45 42 43 public override string ToString() { 44 return Value.ToString("o"); // round-trip format 45 } 46 46 47 string IStringConvertibleData.GetValue() { 47 return Value.ToString( );48 return Value.ToString("o"); // round-trip format 48 49 } 49 50 bool IStringConvertibleData.SetValue(string value) {
Note: See TracChangeset
for help on using the changeset viewer.