Click or drag to resize

ExtensionMethodskFiscalInfo Method

Returns all information relative to Fiscal Quarters

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

Parameters

dateValue
Type: SystemDateTime
The date.
fiscalMonthStart
Type: SystemInt32
The fiscal month start date.
maxToday (Optional)
Type: SystemBoolean
if set to true LastDayOfFiscalPeriod will max out at todays date if it is greater than today.

Return Value

Type: FiscalInfo
FiscalInfo

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