public TimeSpan(DateTime begin, dateTimeFormatEnum dateTimeFormat1, DateTime end, dateTimeFormatEnum dateTimeFormat2) { this.begin = begin; this.dateTimeFormat1 = dateTimeFormat1; this.end = end; this.dateTimeFormat2 = dateTimeFormat2; }
public TimeSpan(DateTime dateTime, dateTimeFormatEnum dateTimeFormat1, StopType stopType) { if (stopType == StopType.begin) { this.begin = dateTime; } else { this.end = dateTime; } this.dateTimeFormat1 = dateTimeFormat1; }
public TimeStamp(DateTime when, dateTimeFormatEnum dateTimeFormat) { this.when = when; this.dateTimeFormat = dateTimeFormat; }