 | 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
Syntaxpublic static QuarterInfo kSemiAnnualInfo(
this DateTime dateValue,
bool maxToday = true
)
<ExtensionAttribute>
Public Shared Function kSemiAnnualInfo (
dateValue As DateTime,
Optional maxToday As Boolean = true
) As QuarterInfo
public:
[ExtensionAttribute]
static QuarterInfo^ kSemiAnnualInfo(
DateTime dateValue,
bool maxToday = true
)
[<ExtensionAttribute>]
static member kSemiAnnualInfo :
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 LastDayOfQuarter 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