BEAST
eu.baltrad.beast.rules.RuleUtils Class Reference

A class containing common utility functions for rules. More...

Static Public Member Functions

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.
 

Detailed Description

A class containing common utility functions for rules.

Author
Mats Vernersson

Member Function Documentation

◆ 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
dateThe date to format
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
timeThe time to format
Returns
a string containing the formatted time

The documentation for this class was generated from the following file: