 | 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
Syntaxpublic static FiscalInfo kFiscalInfo(
this DateTime dateValue,
int fiscalMonthStart,
bool maxToday = true
)
<ExtensionAttribute>
Public Shared Function kFiscalInfo (
dateValue As DateTime,
fiscalMonthStart As Integer,
Optional maxToday As Boolean = true
) As FiscalInfo
public:
[ExtensionAttribute]
static FiscalInfo^ kFiscalInfo(
DateTime dateValue,
int fiscalMonthStart,
bool maxToday = true
)
[<ExtensionAttribute>]
static member kFiscalInfo :
dateValue : DateTime *
fiscalMonthStart : int *
?maxToday : bool
(* Defaults:
let _maxToday = defaultArg maxToday true
*)
-> FiscalInfo
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:
FiscalInfoFiscalInfoUsage 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