public bool Equals(CalenderDate dt2) { return(year == dt2.year && month == dt2.month && day == dt2.day && hour == dt2.hour && minute == dt2.minute && second == dt2.second); }
protected override void Awake() { base.Awake(); if (!isDuplicate) { date = new CalenderDate(startingHour); date.AddSeconds(Time.realtimeSinceStartup); } }
public DatedEvent(CalenderDate date, Action <DatedEvent> onEvent) { Date = date; _onEvent = onEvent; }