|
static final String | TYPE = "blt_gra" |
| The name of this static acrr type.
|
|
static final String | TYPE = "blt_acrr" |
| The name of this static acrr type.
|
|
◆ findFiles()
List< CatalogEntry > eu.baltrad.beast.rules.gra.GraRule.findFiles |
( |
DateTime | now | ) |
|
|
inlineprotected |
Returns a filtered list of all included files from now and hours backward.
The filtered list will only contain one file / what_time, what_date and the files will be based on latest stored_time.
- Parameters
-
- Returns
- the found unique entries.
Reimplemented from eu.baltrad.beast.rules.acrr.AcrrRule.
◆ getFirstTermUTC()
int eu.baltrad.beast.rules.gra.GraRule.getFirstTermUTC |
( |
| ) |
|
|
inline |
Returns the offset in hours to the first observation term.
This is the time when the term ends.
- Returns
- the offset in hours
◆ getHours()
int eu.baltrad.beast.rules.gra.GraRule.getHours |
( |
| ) |
|
|
inline |
◆ getInterval()
int eu.baltrad.beast.rules.gra.GraRule.getInterval |
( |
| ) |
|
|
inline |
The interval for each term.
This will always be the same as hours but it is only allowed to have the same values as the interval.
- Returns
- the interval
◆ getNominalTime()
DateTime eu.baltrad.beast.rules.gra.GraRule.getNominalTime |
( |
DateTime | now | ) |
|
|
inlineprotected |
Returns the nearest lowest start of period from now.
For example, if interval = 6, firstTermUTC = 6 and now.hour() = 7, then returned date will be one hour lower than now.
- Parameters
-
- Returns
- first previous start of period from now
◆ getNowDT()
DateTime eu.baltrad.beast.rules.gra.GraRule.getNowDT |
( |
| ) |
|
|
inlineprotected |
Basically here for testing purposes.
- Returns
- now as date time object
◆ getType()
String eu.baltrad.beast.rules.gra.GraRule.getType |
( |
| ) |
|
|
inline |
◆ handle()
◆ setFirstTermUTC()
void eu.baltrad.beast.rules.gra.GraRule.setFirstTermUTC |
( |
int | firstTermUTC | ) |
|
|
inline |
Sets the offset in hours to the first observation term.
This is the time when the term ends.
- Parameters
-
firstTermUTC | the offset in hours |
◆ setHours()
void eu.baltrad.beast.rules.gra.GraRule.setHours |
( |
int | hours | ) |
|
|
inline |
◆ setInterval()
void eu.baltrad.beast.rules.gra.GraRule.setInterval |
( |
int | interval | ) |
|
|
inline |
The interval of which we can use as periods.
This overrides the hours setting.
- Parameters
-
interval | the interval, must be evenly dividable by 24. I.e. 1,2,3,4,6,8,12 and 24 |
◆ TYPE
final String eu.baltrad.beast.rules.gra.GraRule.TYPE = "blt_gra" |
|
static |
The name of this static acrr type.
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/rules/gra/GraRule.java