Skip to content

Commit 9b9f2b3

Browse files
committed
refactor(DurationUnit): swap definitions of Week and Weekend
- Swapped the definitions of Week and Weekend to correct documentation errors. - Updated the comments to reflect accurate descriptions for each duration unit. - Ensures clarity and consistency in the DurationUnit enum definitions.
1 parent 8e5f686 commit 9b9f2b3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/ES.FX/Primitives/DurationUnit.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ public enum DurationUnit
8686
Day,
8787

8888
/// <summary>
89-
/// One week (7 days).
89+
/// One weekend (2 days).
9090
/// </summary>
91-
Week,
91+
Weekend,
9292

9393
/// <summary>
94-
/// One weekend (2 days).
94+
/// One week (7 days).
9595
/// </summary>
96-
Weekend,
96+
Week,
9797

9898
/// <summary>
9999
/// One calendar month (28–31 days).

0 commit comments

Comments
 (0)