public KrynnEvent(KrynnDateTime eventDT, KrynnDateTime currentDT, string name, string description) { this.DateTime = eventDT; this.SecondsLeft = currentDT.SecondsUntil(this.DateTime); this.Name = name; this.Description = description; }
public bool UpdateTime(KrynnDateTime currentDT) { this.SecondsLeft = currentDT.SecondsUntil(this.DateTime); if (SecondsLeft <= 0) { return(true); } else { return(false); } }