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 = 3

From 14:00 up to 17:00.

EarlyMorning = 0

From 05:00 up to 08:00.

Evening = 4

From 17:00 up to 22:00.

Midday = 2

From 11:00 up to 14:00.

Morning = 1

From 08:00 up to 11:00.

Night = 5

From 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.