Click or drag to resize

ExtensionMethodskSemiAnnualInfo Method

Returns all information relative to a Business Quarter (or Fiscal year quarters) SemiAnnual Dates are 10/1 - 3/31 and 4/1 - 9/30 (Default) !Default is HARDCODED, fiscal year change will require method modification!

Namespace:  Koden.Utils.Extensions
Assembly:  Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntax
public static QuarterInfo kSemiAnnualInfo(
	this DateTime dateValue,
	bool maxToday = true
)

Parameters

dateValue
Type: SystemDateTime
The date.
maxToday (Optional)
Type: SystemBoolean
if set to true LastDayOfQuarter will max out at todays date if it is greater than today.

Return Value

Type: QuarterInfo
QuarterInfo

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DateTime. 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).
See Also