Пример #1
0
 public TimeSpan(DateTime begin, dateTimeFormatEnum dateTimeFormat1, DateTime end, dateTimeFormatEnum dateTimeFormat2)
 {
     this.begin = begin;
     this.dateTimeFormat1 = dateTimeFormat1;
     this.end = end;
     this.dateTimeFormat2 = dateTimeFormat2;
 }
Пример #2
0
 public TimeSpan(DateTime begin, dateTimeFormatEnum dateTimeFormat1, DateTime end, dateTimeFormatEnum dateTimeFormat2)
 {
     this.begin           = begin;
     this.dateTimeFormat1 = dateTimeFormat1;
     this.end             = end;
     this.dateTimeFormat2 = dateTimeFormat2;
 }
Пример #3
0
        public TimeSpan(DateTime dateTime, dateTimeFormatEnum dateTimeFormat1, StopType stopType)
        {
            if (stopType == StopType.begin)
            {
                this.begin = dateTime;
            }
            else
            {
                this.end = dateTime;
            }

            this.dateTimeFormat1 = dateTimeFormat1;
        }
Пример #4
0
        public TimeSpan(DateTime dateTime, dateTimeFormatEnum dateTimeFormat1, StopType stopType)
        {
            if (stopType == StopType.begin)
            {
                this.begin = dateTime;
            }
            else
            {
                this.end = dateTime;
            }

            this.dateTimeFormat1 = dateTimeFormat1;
        }
Пример #5
0
 public TimeStamp(DateTime when, dateTimeFormatEnum dateTimeFormat)
 {
     this.when = when;
     this.dateTimeFormat = dateTimeFormat;
 }
Пример #6
0
 public TimeStamp(DateTime when, dateTimeFormatEnum dateTimeFormat)
 {
     this.when           = when;
     this.dateTimeFormat = dateTimeFormat;
 }