Method ListingThis page will detail all methods available in the BusinessDay class package com.flexoop.utilities.dateutilspublic static function businessDaysInDateRange( startDate:Date, endDate:Date, businessDays:Object=null ):Array - Returns an array of dates between 2 dates corresponding to the business days requested
public static function nonBusinessDaysInDateRange( startDate:Date, endDate:Date, validBusinessDays:Object=null ):Array - Returns an array of dates between 2 dates corresponding to the valid business days passed in.
- Non-business days are auto-generated based upon the valid business days passed in
public static function createBusinessObjectFromString( arrBusinessDays:Array ):Object - Generates a valid business day object that can be used as a parameter in the other method calls
public static function businessDaysForMonth( date:Date, businessDays:Object=null ):Array - Returns an array of dates for a specified month corresponding to the business days requested
public static function nonBusinessDaysForMonth( date:Date, validBusinessDays:Object=null ):Array - Returns an array of dates for a specified month corresponding to the valid business days passed in.
- Non-business days are auto-generated based upon the valid business days passed in
public static function iterationOfBusinessDays( startDate:Date, iteration:Number, datePart:String, businessDays:Object=null ):Array - Returns an array of dates from a specified date, and extends for a specific number of date parts corresponding to the business days requested
- Valid date parts can be found in the CONSTANTS page.
public static function iterationOfNonBusinessDays( startDate:Date, iteration:Number, datePart:String, validBusinessDays:Object=null ):Array - Returns an array of dates from a specified date, and extends for a specific number of date parts corresponding to the valid business days passed in
- Non-business days are auto-generated based upon the valid business days passed in
- Valid date parts can be found in the CONSTANTS page.
public static function fiscalQuarter( date:Date, fiscalYearStartDate:Date=null ):uint - Returns the unsigned integer representing the quarter of the year that the date falls in
- Should the fiscal year start on a date other than Jan 1, then the new fiscal year start date should be passed in as the second parameter
|