public class FiscalYear extends RefDataClass
See FiscalCalendar
for more information on how FiscalYears are set up and used.
id
factoryCreated, factoryProperties
Constructor and Description |
---|
FiscalYear() |
FiscalYear(int year,
int month,
int date) |
FiscalYear(int fiscalYear,
int year,
int month,
int date) |
FiscalYear(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getDate()
The one-based day-number in the
specified month when this fiscal
year starts. |
java.lang.Integer |
getFiscalYear()
The actual fiscal year that this date relates to.
|
java.lang.Integer |
getMonth()
The zero-based month-number when this fiscal year starts.
|
static FiscalYear |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Integer |
getYear()
The 4-digit calendar year when this fiscal year starts.
|
void |
setDate(java.lang.Integer date)
The one-based day-number in the
specified month when this fiscal
year starts. |
void |
setFiscalYear(java.lang.Integer fiscalYear)
The actual fiscal year that this date relates to.
|
void |
setMonth(java.lang.Integer month)
The zero-based month-number when this fiscal year starts.
|
void |
setYear(java.lang.Integer year)
The 4-digit calendar year when this fiscal year starts.
|
getRef, getRef, internalSetID
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public FiscalYear()
public FiscalYear(com.google.gwt.core.client.JavaScriptObject jsObj)
public FiscalYear(int year, int month, int date)
public FiscalYear(int fiscalYear, int year, int month, int date)
public static FiscalYear getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setDate(java.lang.Integer date)
specified month
when this fiscal
year starts.date
- Default value is nullpublic java.lang.Integer getDate()
specified month
when this fiscal
year starts.public void setFiscalYear(java.lang.Integer fiscalYear)
A fiscal year ends when the next one begins. A fiscal year may
span the boundary between two calendar years in which case the fiscalYear
value may not match the year
value.
For example fiscalYear 2020 may start in July of 2019
and end in July of 2020. In this case the fiscalYear
would be set to 2020
and the year
would be set to 2019
fiscalYear
- Default value is nullpublic java.lang.Integer getFiscalYear()
A fiscal year ends when the next one begins. A fiscal year may
span the boundary between two calendar years in which case the fiscalYear
value may not match the year
value.
For example fiscalYear 2020 may start in July of 2019
and end in July of 2020. In this case the fiscalYear
would be set to 2020
and the year
would be set to 2019
public void setMonth(java.lang.Integer month)
month
- Default value is nullpublic java.lang.Integer getMonth()
public void setYear(java.lang.Integer year)
year
- Default value is nullpublic java.lang.Integer getYear()