A class containing common utility functions for rules.
More...
|
static String | getFormattedDate (Date date) |
| Converts a date object into a string that is formatted according to the common format that is expected by the message recipients/adaptors.
|
|
static String | getFormattedTime (Time time) |
| Converts a time object into a string that is formatted according to the common format that is expected by the message recipients/adaptors.
|
|
A class containing common utility functions for rules.
- Author
- Mats Vernersson
◆ getFormattedDate()
static String eu.baltrad.beast.rules.RuleUtils.getFormattedDate |
( |
Date | date | ) |
|
|
inlinestatic |
Converts a date object into a string that is formatted according to the common format that is expected by the message recipients/adaptors.
The format is: 'YYYYmmdd'.
- Parameters
-
- Returns
- a string containing the formatted date
◆ getFormattedTime()
static String eu.baltrad.beast.rules.RuleUtils.getFormattedTime |
( |
Time | time | ) |
|
|
inlinestatic |
Converts a time object into a string that is formatted according to the common format that is expected by the message recipients/adaptors.
The format is: 'HHMMSS'.
- Parameters
-
- Returns
- a string containing the formatted time
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/rules/RuleUtils.java