Package | Description |
---|---|
com.dukascopy.api |
Modifier and Type | Field and Description |
---|---|
Unit |
Period.unit
Deprecated.
use getUnit() instead
|
Modifier and Type | Method and Description |
---|---|
Unit |
Period.getUnit()
Returns time unit.
|
static Unit |
Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Unit[] |
Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Period |
Period.createCustomPeriod(String name,
Unit unit,
int unitsCount)
Deprecated.
Please, use
Period.createCustomPeriod(Unit, int, JFTimeZone) } |
static Period |
Period.createCustomPeriod(Unit unit,
int unitsCount)
Method creates custom Period.
|
static Period |
Period.createCustomPeriod(Unit unit,
int unitsCount,
JFTimeZone jfTimeZone)
This method returns custom period with given
JFTimeZone . |
static List<Period> |
Period.generateCompliantPeriods(String name,
Unit unit,
int maxUnitCount)
Deprecated.
Please, use
Period.generateCompliantPeriods(Unit, int) |
static List<Period> |
Period.generateCompliantPeriods(String name,
Unit unit,
int startUnitCount,
int maxUnitCount)
Deprecated.
Please, use
Period.generateCompliantPeriods(Unit, int, int) |
static List<Period> |
Period.generateCompliantPeriods(Unit unit,
int maxUnitCount)
The method generates and returns the list of compliant periods for passed Unit from 1 to maxUnitCount
|
static List<Period> |
Period.generateCompliantPeriods(Unit unit,
int startUnitCount,
int maxUnitCount)
The method generates and returns the list of compliant periods for passed Unit from startUnitCount to maxUnitCount
|
static boolean |
Period.isTimeZoneValid(Unit unit,
int numOfUnits,
JFTimeZone timeZone)
Checks whether the given time zone's offset is valid for the given unit, e.g.
|
Copyright © 2016. All rights reserved.