public class TimePeriod
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
long |
from
The from.
|
java.lang.String |
name
The name.
|
long |
to
The to.
|
double |
value
The value.
|
Constructor and Description |
---|
TimePeriod()
Instantiates a new time period.
|
TimePeriod(long from,
long to)
Instantiates a new time period.
|
TimePeriod(TimePeriod p)
Instantiates a new time period.
|
public long from
public long to
public double value
public java.lang.String name
public TimePeriod()
public TimePeriod(long from, long to)
from
- the fromto
- the topublic TimePeriod(TimePeriod p)
p
- the p