|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibspan.ecap.merchant.shopdecisions.dataaccess.TimeEntity
public class TimeEntity
A class representing a time dimension entity.
Constructor Summary | |
---|---|
TimeEntity(java.util.Date fullTime,
int hour,
java.lang.String amPmIndicator)
Creates a new instance of TimeEntity . |
Method Summary | |
---|---|
java.lang.String |
getAmPmIndicator()
Gets the AM/PM indicator. |
java.util.Date |
getFullTime()
Gets the full timestamp. |
int |
getHour()
Gets the hour part of the time (0-23) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeEntity(java.util.Date fullTime, int hour, java.lang.String amPmIndicator)
TimeEntity
.
fullTime
- the full timestamp.hour
- the hour part of the time (1-24)amPmIndicator
- the AM/PM indicator. Can take the value of 'AM' or 'PM'.Method Detail |
---|
public java.lang.String getAmPmIndicator()
public java.util.Date getFullTime()
public int getHour()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |