Ejemplo n.º 1
0
        public ClockEvent ClockInOut()
        {
            ClockEvent newEvent = new ClockEvent(ClockEvent.Round(DateTime.Now), DateTime.Now, EventStatus.Normal);

            _Events.AddLast(newEvent);
            return(newEvent);
        }
Ejemplo n.º 2
0
        public ClockEvent ClockExtra(DateTime when)
        {
            ClockEvent newEvent = new ClockEvent(ClockEvent.Round(when), DateTime.Now, EventStatus.Extra);

            _Events.AddLast(newEvent);
            return(newEvent);
        }
Ejemplo n.º 3
0
        public ClockEvent ClockInOut(DateTime when)
        {
            ClockEvent newEvent = new ClockEvent(ClockEvent.Round(when), DateTime.Now, EventStatus.Overridden);

            _Events.AddLast(newEvent);
            return(newEvent);
        }
Ejemplo n.º 4
0
 public bool Delete(DateTime when, out ClockEvent newEvent)
 {
     newEvent = new ClockEvent(ClockEvent.Round(when), DateTime.Now, EventStatus.Deleted);
     return(Delete(newEvent));
 }