You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All contributions are welcome, as long as they are in the scope of the project: extending the use of and functionality of the Date and Time related objects in .NET (namely DateTime, DateOnly, TimeOnly and TimeSpan)
2
+
3
+
Please adhere to the general C# .NET rules and guidelines, use comments and names that make common sense.
4
+
If you are not sure if you should add something to the library, or have an idea and dont know how and where to start, just get in touch and we discuss it.
/// Implements the <see cref="IDateTimeRange"/> interface and provides a time range through its <see cref="StartTime"/> and <see cref="EndTime"/> members
9
+
/// Implements the <see cref="IDateTimeRange"/> interface and provides a time range through its <see cref="Start"/> and <see cref="End"/> members
9
10
/// </summary>
10
11
publicclassDateTimeRange:IDateTimeRange
11
12
{
@@ -16,15 +17,31 @@ public class DateTimeRange : IDateTimeRange
16
17
/// <param name="endTime">The end datetime</param>
@@ -132,7 +154,7 @@ public static IEnumerable<DateOnly> EnumerateWorkdaysUntil(this DateOnly from, D
132
154
}
133
155
134
156
/// <summary>
135
-
/// Advances to the closest weekend and enumerates the weekends until the end date
157
+
/// Advances to the closest weekend and enumerates the weekends until the end date. The weekend date is always a saturday when going forward and a sunday when going backwards.
0 commit comments