My favorites | Sign in
Project Logo
                
Search
for
Updated Dec 09, 2008 by lampei
BusinessDay  
This class contains methods for determining dates for business days

Method Listing

This page will detail all methods available in the BusinessDay class

package com.flexoop.utilities.dateutils

public static function businessDaysInDateRange( startDate:Date, endDate:Date, businessDays:Object=null ):Array
public static function nonBusinessDaysInDateRange( startDate:Date, endDate:Date, validBusinessDays:Object=null ):Array
public static function createBusinessObjectFromString( arrBusinessDays:Array ):Object
public static function businessDaysForMonth( date:Date, businessDays:Object=null ):Array
public static function nonBusinessDaysForMonth( date:Date, validBusinessDays:Object=null ):Array
public static function iterationOfBusinessDays( startDate:Date, iteration:Number, datePart:String, businessDays:Object=null ):Array
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

Sign in to add a comment
Hosted by Google Code