public class ExchangeTimeZone
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,java.util.TimeZone> |
INDEX_TIMEZONES |
static java.util.Map<java.lang.String,java.util.TimeZone> |
SUFFIX_TIMEZONES |
| Constructor and Description |
|---|
ExchangeTimeZone() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.TimeZone |
get(java.lang.String suffix)
Get the time zone for a specific exchange suffix
|
static java.util.TimeZone |
getStockTimeZone(java.lang.String symbol)
Get the time zone for a specific stock or index.
|
public static final java.util.Map<java.lang.String,java.util.TimeZone> SUFFIX_TIMEZONES
public static final java.util.Map<java.lang.String,java.util.TimeZone> INDEX_TIMEZONES
public static java.util.TimeZone get(java.lang.String suffix)
suffix - suffix for the exchange in YahooFinancepublic static java.util.TimeZone getStockTimeZone(java.lang.String symbol)
symbol - stock symbol in YahooFinance