Package com.strategyquant.lib
Class TimePeriod
java.lang.Object
com.strategyquant.lib.TimePeriod
The Class TimePeriod.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstantiates a new time period.TimePeriod(long from, long to)
Instantiates a new time period.TimePeriod(long from, long to, String name)
Instantiates a new time period.TimePeriod(TimePeriod p)
Instantiates a new time period. -
Method Summary
-
Field Details
-
from
public long fromThe from. -
to
public long toThe to. -
value
public double valueThe value. -
name
The name. -
note
The note. -
type
public byte typeThe type.
-
-
Constructor Details
-
TimePeriod
public TimePeriod()Instantiates a new time period. -
TimePeriod
public TimePeriod(long from, long to)Instantiates a new time period.- Parameters:
from
- the fromto
- the to
-
TimePeriod
Instantiates a new time period.- Parameters:
from
- the fromto
- the toname
- the name
-
TimePeriod
Instantiates a new time period.- Parameters:
p
- the p
-
-
Method Details
-
clone
Clone.- Returns:
- the time period
-