public interface BasePeriodPattern
TimePacker| Modifier and Type | Method and Description |
|---|---|
boolean |
effective()
Return true it the primary pattern has any effect.
|
long |
expandIndex(long time)
Put back all removed OFF time points in a compressed numerical time index.
|
int |
getSize()
Return the number of time points in the pattern.
|
long |
makeIndex(long time)
Compress an unrestricted numerical time index by removing all OFF time points.
|
int getSize()
long makeIndex(long time)
throws T2Exception
time - an unrestricted numerical time indexT2Exceptionlong expandIndex(long time)
time - a compressed numerical time indexboolean effective()
Copyright © 2017. All rights reserved.