Class Period
- java.lang.Object
-
- de.gsi.financial.samples.service.period.Period
-
- Direct Known Subclasses:
EodPeriod,IntradayPeriod
public abstract class Period extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPeriod.PeriodType
-
Constructor Summary
Constructors Constructor Description Period()Period(Period.PeriodType type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)abstract longgetMillis()Period.PeriodTypegetType()inthashCode()
-
-
-
Constructor Detail
-
Period
public Period(Period.PeriodType type)
-
Period
public Period()
-
-
Method Detail
-
getType
public Period.PeriodType getType()
- Returns:
- common type of the time period
-
getMillis
public abstract long getMillis()
- Returns:
- get period in millis
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-