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()
TimeDomainCatalog
get
in interface TimeDomainCatalog
public TimeDomain get(String label) throws T2Exception
TimeDomainCatalog
get
in interface TimeDomainCatalog
label
- non-null stringT2Exception
public TimeDomain get(TimeDomainDefinition def)
TimeDomainCatalog
get
in interface TimeDomainCatalog
def
- a non-null time domain definitionCopyright © 2017. All rights reserved.