|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibspan.ecap.merchant.shopdecisions.dataaccess.DateEntity
public class DateEntity
A class representing a date dimension entity.
Constructor Summary | |
---|---|
DateEntity(java.util.Date fullDate,
java.lang.String dayOfWeek,
int dayNoInWeek,
int dayInEpoch,
int weekInEpoch,
int monthInEpoch,
int dayInYear,
int weekInYear,
int monthInYear,
int quarterInYear,
int year,
int dayInMonth,
java.lang.String weekdayIndicator)
Creates a new instance of DateEntity . |
Method Summary | |
---|---|
int |
getDayInEpoch()
Gets the number of day in epoch (since 01.01.1970). |
int |
getDayInMonth()
Gets the day number in month |
int |
getDayInYear()
Gets the number of the day in year. |
int |
getDayNoInWeek()
Gets the number of day in a week (1-7). |
java.lang.String |
getDayOfWeek()
Gets the name of the day of week. |
java.util.Date |
getFullDate()
Gets the full date. |
int |
getMonthInEpoch()
Gets the number of the month in epoch (since 01.01.1970). |
int |
getMonthInYear()
Gets the number of the month in year. |
int |
getQuarterInYear()
Gets the quarter number in year. |
java.lang.String |
getWeekdayIndicator()
Gets the weekday indicator. |
int |
getWeekInEpoch()
Gets the number of week in epoch (since 01.01.1970). |
int |
getWeekInYear()
Get the week number in year. |
int |
getYear()
Gets the year number AD. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateEntity(java.util.Date fullDate, java.lang.String dayOfWeek, int dayNoInWeek, int dayInEpoch, int weekInEpoch, int monthInEpoch, int dayInYear, int weekInYear, int monthInYear, int quarterInYear, int year, int dayInMonth, java.lang.String weekdayIndicator)
DateEntity
.
fullDate
- the full date.dayOfWeek
- the name of the day of week. Can equal any of the following:
Monday Tuesday Wednesday Thursday Friday Saturday SundaydayNoInWeek
- the number of the day in a week.dayInEpoch
- the number of the day in epoch (since 01.01.1970).weekInEpoch
- the number of the week in epoch (since 01.01.1970).monthInEpoch
- the number of the month in epoch (since 01.01.1970).dayInYear
- the number of the day in year.weekInYear
- the number of the week in year.monthInYear
- the number of the month in year.quarterInYear
- the number of the quarter in year.year
- the year number AD.dayInMonth
- the day number in month.weekdayIndicator
- the weekday indicator. Takes a value of 'Weekday' or
'Weekend'.Method Detail |
---|
public int getDayInEpoch()
public int getDayInMonth()
public int getDayInYear()
public int getDayNoInWeek()
public java.lang.String getDayOfWeek()
public java.util.Date getFullDate()
public int getMonthInEpoch()
public int getMonthInYear()
public int getQuarterInYear()
public java.lang.String getWeekdayIndicator()
public int getWeekInEpoch()
public int getWeekInYear()
public int getYear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |