Example #1
0
 public override bool Equals(object other)
 {
     if (other is DateTimeUTC)
     {
         return(InnerDateTime.Equals(((DateTimeUTC)other).InnerDateTime));
     }
     return(false);
 }
Example #2
0
 public DateTimeUTC AddHours(double hours)
 {
     return(new DateTimeUTC(InnerDateTime.AddHours(hours)));
 }
Example #3
0
 public DateTimeUTC AddDays(double days)
 {
     return(new DateTimeUTC(InnerDateTime.AddDays(days)));
 }
Example #4
0
 public DateTimeUTC AddMonths(int months)
 {
     return(new DateTimeUTC(InnerDateTime.AddMonths(months)));
 }
Example #5
0
 public DateTimeUTC AddYears(int years)
 {
     return(new DateTimeUTC(InnerDateTime.AddYears(years)));
 }
Example #6
0
 public string ToString(string formating)
 {
     return(InnerDateTime.ToString(formating));
 }
Example #7
0
 public override string ToString()
 {
     return(InnerDateTime.ToString());
 }
Example #8
0
 public int CompareTo(DateTimeUTC other)
 {
     return(InnerDateTime.CompareTo(other.InnerDateTime));
 }
Example #9
0
 public override int GetHashCode()
 {
     return(InnerDateTime.GetHashCode());
 }
Example #10
0
 public DateTimeUTC AddMilliseconds(double milliseconds)
 {
     return(new DateTimeUTC(InnerDateTime.AddMilliseconds(milliseconds)));
 }
Example #11
0
 public DateTimeUTC AddSeconds(double seconds)
 {
     return(new DateTimeUTC(InnerDateTime.AddSeconds(seconds)));
 }
Example #12
0
 public DateTimeUTC AddMinutes(double minutes)
 {
     return(new DateTimeUTC(InnerDateTime.AddMinutes(minutes)));
 }