Skip to content

Commit 777cde2

Browse files
committed
feat(DurationUnit): add Weekend duration unit
- Introduces a new duration unit representing one weekend (2 days). - Enhances flexibility in duration calculations for scheduling and time management features.
1 parent b6c8ffd commit 777cde2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/ES.FX/Primitives/DurationUnit.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ public enum DurationUnit
9595
/// </summary>
9696
Week,
9797

98+
/// <summary>
99+
/// One weekend (2 days).
100+
/// </summary>
101+
Weekend,
102+
98103
/// <summary>
99104
/// One calendar month (28–31 days).
100105
/// </summary>

0 commit comments

Comments
 (0)