 | ExtensionMethodskQuarterInfo Method |
Returns all information relative to a Business Quarter
Namespace:
Koden.Utils.Extensions
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static QuarterInfo kQuarterInfo(
this DateTime dateValue,
bool maxToday = true
)
<ExtensionAttribute>
Public Shared Function kQuarterInfo (
dateValue As DateTime,
Optional maxToday As Boolean = true
) As QuarterInfo
public:
[ExtensionAttribute]
static QuarterInfo^ kQuarterInfo(
DateTime dateValue,
bool maxToday = true
)
[<ExtensionAttribute>]
static member kQuarterInfo :
dateValue : DateTime *
?maxToday : bool
(* Defaults:
let _maxToday = defaultArg maxToday true
*)
-> QuarterInfo
Parameters
- dateValue
- Type: SystemDateTime
The date. - maxToday (Optional)
- Type: SystemBoolean
if set to true LastDayOfPeriod will max out at todays date if it is greater than today.
Return Value
Type:
QuarterInfoQuarterInfoUsage 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