com.sage.accpac.sm
Interface FiscalCalendar.FiscalYear

Enclosing interface:
FiscalCalendar

public static interface FiscalCalendar.FiscalYear

The properties of a fiscal year, as returned by getYear and other methods


Method Summary
 FiscalCalendar.DateRange getDates()
          gets the date range of the year
 FiscalCalendar.FiscalPeriod getPeriod(int p)
          Returns a FiscalPeriod object representing the given period of this year
 int getPeriodCount()
          gets the number of periods in the year
 int getQtr4Period()
          gets the quarter that contains 4 periods if there are 13 periods in the year rather than 12
 int getYear()
          gets the fiscal year
 boolean isActive()
          gets whether or not the year is active
 

Method Detail

getDates

FiscalCalendar.DateRange getDates()
gets the date range of the year

Returns:
a FiscalCalendar.DateRange for the year

getYear

int getYear()
gets the fiscal year

Returns:
the fiscal year

getPeriodCount

int getPeriodCount()
gets the number of periods in the year

Returns:
the number of periods in the year

getQtr4Period

int getQtr4Period()
gets the quarter that contains 4 periods if there are 13 periods in the year rather than 12

Returns:
the quarter having 4 periods

isActive

boolean isActive()
gets whether or not the year is active

Returns:
true if the year is active

getPeriod

FiscalCalendar.FiscalPeriod getPeriod(int p)
Returns a FiscalPeriod object representing the given period of this year

Parameters:
p - the period number
Returns:
a FiscalCalendar.FiscalPeriod for the given period of the year


Copyright © 2011 Sage Software, Inc. All rights reserved.