Defines the order over (time, group).
Defines the order over (time, group).
In this method, a time of 5 is less than a time of 10, which is unsurprising. However, this class exists for use in a priority queue. In the priority queue, a time of 5 should have a higher priority than a time of 10. When instantiating the queue, reverse the order.
Defines an activity to run at a specific, scheduled time and group.