Enum TimeBucket
- Namespace
- Cratis.Chronicle.Concepts.Patterns
- Assembly
- Cratis.Chronicle.dll
Represents the part of the day an event occurred in.
public enum TimeBucket
- Extension Methods
Fields
Afternoon = 3From 14:00 up to 17:00.
EarlyMorning = 0From 05:00 up to 08:00.
Evening = 4From 17:00 up to 22:00.
Midday = 2From 11:00 up to 14:00.
Morning = 1From 08:00 up to 11:00.
Night = 5From 22:00 up to 05:00.
Remarks
Buckets rather than hours: "approves expenses on Monday mornings" is a pattern a person recognizes, while "approves expenses on Mondays at 09" splits the same behavior across as many patterns as there are hours it happens to land on, and none of them clears a support threshold.