public class Period extends Object
This class is multithread safe: it is immutable. In particular, it is always properly constructed, all of its fields are final, and none of their state can be changed after construction. See p. 53 of Java Concurrency In Practice for more discussion.
| Constructor and Description |
|---|
Period(io.coinapi.rest.Period_identifier period_id,
int length_seconds,
int length_months,
int unit_count,
String unit_name,
String display_name) |
| Modifier and Type | Method and Description |
|---|---|
String |
get_display_name() |
int |
get_length_months() |
int |
get_length_seconds() |
io.coinapi.rest.Period_identifier |
get_period_id() |
int |
get_unit_count() |
String |
get_unit_name() |
public io.coinapi.rest.Period_identifier get_period_id()
public int get_length_seconds()
public int get_length_months()
public int get_unit_count()
public String get_unit_name()
public String get_display_name()
Copyright © 2019 MARMOT SOLUTIONS LTD. All rights reserved.