DateOnlyExtensions.EnumerateWorkdaysUntil Method
Enumerates all working days startDate current DateOnly value endDate the end DateOnly, including the end date
Namespace: MoreDateTime.ExtensionsAssembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
public static IEnumerable<DateOnly> EnumerateWorkdaysUntil(
this DateOnly from,
DateOnly to,
CultureInfo? cultureInfo = null
)
Dim from As DateOnly
Dim to As DateOnly
Dim cultureInfo As CultureInfo
Dim returnValue As IEnumerable(Of DateOnly)
returnValue = from.EnumerateWorkdaysUntil(to,
cultureInfo)
public:
[ExtensionAttribute]
static IEnumerable<DateOnly>^ EnumerateWorkdaysUntil(
DateOnly from,
DateOnly to,
CultureInfo^ cultureInfo = nullptr
)
No code example is currently available or this language may not be supported.
- from DateOnly
- The starting DateOnly value
- to DateOnly
- The ending DateOnly value
- cultureInfo CultureInfo (Optional)
- The CultureInfo for the source timezone, can be null for current
IEnumerable<DateOnly>A enumerable of DateOnly values with days increasing by 1In Visual Basic and C#, you can call this method as an instance method on any object of type
DateOnly. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).