예제 #1
0
 public Time(DateTime time)
 {
     this.m_absoluteTime = DateTime.MinValue;
     this.m_baseTime     = RelativeTime.Now;
     this.m_offsets      = new TimeOffsetCollection();
     this.AbsoluteTime   = time;
 }
예제 #2
0
        public Time(string time)
        {
            this.m_absoluteTime = DateTime.MinValue;
            this.m_baseTime     = RelativeTime.Now;
            this.m_offsets      = new TimeOffsetCollection();
            Time time2 = Parse(time);

            this.m_absoluteTime = DateTime.MinValue;
            this.m_baseTime     = time2.m_baseTime;
            this.m_offsets      = time2.m_offsets;
        }