public class ExchangeTimeZone extends Object
Modifier and Type | Field and Description |
---|---|
static Map<String,TimeZone> |
INDEX_TIMEZONES |
static Map<String,TimeZone> |
SUFFIX_TIMEZONES |
Constructor and Description |
---|
ExchangeTimeZone() |
Modifier and Type | Method and Description |
---|---|
static TimeZone |
get(String suffix)
Get the time zone for a specific exchange suffix
|
static TimeZone |
getStockTimeZone(String symbol)
Get the time zone for a specific stock or index.
|
public static TimeZone get(String suffix)
suffix
- suffix for the exchange in YahooFinancepublic static TimeZone getStockTimeZone(String symbol)
symbol
- stock symbol in YahooFinanceCopyright © 2022. All rights reserved.