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