public abstract class ImmutableTimeDomainCatalog extends Object implements TimeDomainCatalog
| Constructor and Description |
|---|
ImmutableTimeDomainCatalog(TimeDomain... domains)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<TimeDomain> |
get()
Return all time domains defined in the catalog.
|
TimeDomain |
get(String label)
Return the time domain with the given label.
|
TimeDomain |
get(TimeDomainDefinition def)
Return the time domain corresponding to the definition, ignoring the label.
|
public ImmutableTimeDomainCatalog(TimeDomain... domains)
domains - zero or more time domainspublic Collection<TimeDomain> get()
TimeDomainCatalogget in interface TimeDomainCatalogpublic TimeDomain get(String label) throws T2Exception
TimeDomainCatalogget in interface TimeDomainCataloglabel - non-null stringT2Exceptionpublic TimeDomain get(TimeDomainDefinition def)
TimeDomainCatalogget in interface TimeDomainCatalogdef - a non-null time domain definitionCopyright © 2017. All rights reserved.