public class GPDateInterval
extends fr.cnes.genius.interval.GIntervalAbstract
| Constructor and Description |
|---|
GPDateInterval()
Empty constructor.
|
GPDateInterval(fr.cnes.sirius.patrius.time.AbsoluteDateInterval okInterval)
Constructor of the dates interval only with OK zone.
|
GPDateInterval(fr.cnes.sirius.patrius.time.AbsoluteDateInterval okInterval,
fr.cnes.sirius.patrius.time.AbsoluteDateInterval warnInterval)
Constructor of the date interval with OK and WARN zones.
|
| Modifier and Type | Method and Description |
|---|---|
protected fr.cnes.genius.interval.GIntervalAbstract.Rule |
getMaxRule() |
protected Double |
getMaxValue() |
String |
getMessage() |
protected fr.cnes.genius.interval.GIntervalAbstract.Rule |
getMinRule() |
protected Double |
getMinValue() |
fr.cnes.sirius.patrius.time.AbsoluteDateInterval |
getOKInterval()
Getter for the OK zone interval.
|
fr.cnes.sirius.patrius.time.AbsoluteDateInterval |
getWarnInterval()
Getter for the warning zone interval.
|
boolean |
overlaps(fr.cnes.genius.interval.GIntervalAbstract otherInterval) |
fr.cnes.genius.interval.GIntervalAbstract.GStatus |
testRange(Object object) |
void |
updateMessage(fr.cnes.genius.unit.GUnit currentUnit,
fr.cnes.genius.interval.GIntervalFormatAbstract formatter) |
public GPDateInterval()
public GPDateInterval(fr.cnes.sirius.patrius.time.AbsoluteDateInterval okInterval)
okInterval - OK zone interval.public GPDateInterval(fr.cnes.sirius.patrius.time.AbsoluteDateInterval okInterval,
fr.cnes.sirius.patrius.time.AbsoluteDateInterval warnInterval)
throws GPDateException
okInterval - OK zone interval.warnInterval - warning zone interval.GPDateException - if OK interval is not included in warning intervalpublic fr.cnes.sirius.patrius.time.AbsoluteDateInterval getOKInterval()
public fr.cnes.sirius.patrius.time.AbsoluteDateInterval getWarnInterval()
public String getMessage()
getMessage in class fr.cnes.genius.interval.GIntervalAbstractpublic fr.cnes.genius.interval.GIntervalAbstract.GStatus testRange(Object object)
testRange in class fr.cnes.genius.interval.GIntervalAbstractpublic boolean overlaps(fr.cnes.genius.interval.GIntervalAbstract otherInterval)
overlaps in class fr.cnes.genius.interval.GIntervalAbstractprotected Double getMinValue()
getMinValue in class fr.cnes.genius.interval.GIntervalAbstractprotected Double getMaxValue()
getMaxValue in class fr.cnes.genius.interval.GIntervalAbstractprotected fr.cnes.genius.interval.GIntervalAbstract.Rule getMaxRule()
getMaxRule in class fr.cnes.genius.interval.GIntervalAbstractprotected fr.cnes.genius.interval.GIntervalAbstract.Rule getMinRule()
getMinRule in class fr.cnes.genius.interval.GIntervalAbstractpublic void updateMessage(fr.cnes.genius.unit.GUnit currentUnit,
fr.cnes.genius.interval.GIntervalFormatAbstract formatter)
updateMessage in class fr.cnes.genius.interval.GIntervalAbstractCopyright © 2025. All rights reserved.