Beispiel #1
0
 public UnityDateTime(DateTime dateTime) : this()
 {
     date = UnityDateOnly.FromDateTime(dateTime);
     time = new UnityTimeSpan(dateTime.TimeOfDay);
 }
Beispiel #2
0
 public bool Equals(UnityTimeSpan other) => ticks == other.ticks;