Inheritance: IComparable
Example #1
0
 /// <summary>
 /// Constructs a <b>DateTime</b> instance from its date, time and
 /// time zone components.
 /// </summary>
 /// <param name="dateValue">The <see cref="DateValue"/> component.</param>
 /// <param name="timeValue">The <see cref="TimeValue"/> component.</param>
 /// <param name="timeZone">The <see cref="TimeZone"/> component or <b>null</b>.</param>
 internal DateTime(DateValue dateValue, TimeValue timeValue, TimeZone timeZone)
     : base(timeZone)
 {
     this.dateValue = dateValue;
     this.timeValue = timeValue;
 }
Example #2
0
 /// <summary>
 /// Constructs a <b>Time</b> from its time and time zone components.
 /// </summary>
 /// <param name="timeValue">The <see cref="TimeValue"/> component.</param>
 /// <param name="timeZone">The <see cref="TimeZone"/> component or <b>null</b></param>
 internal Time(TimeValue timeValue, TimeZone timeZone)
     : base(timeZone)
 {
     this.timeValue = timeValue;
 }