public class FormatHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE_FORMAT_ISO_8601 |
static java.lang.String |
DATE_FORMAT_SIMPLE_DATE |
static java.text.SimpleDateFormat |
DEFAULT_FORMAT |
static int |
NONE |
static java.text.SimpleDateFormat |
SIMPLE_FORMAT_DATE |
Modifier and Type | Method and Description |
---|---|
static java.text.DateFormat |
getFormat(int dateStyle,
int timeStyle)
Returns a DateFormat object based on the dateStyle and timeStyle params
|
static java.text.DateFormat |
getSignatureFormat()
Helper method to return a formatter suitable for
ConsentSignatureStepLayout |
static boolean |
isStyle(int style) |
public static final int NONE
public static final java.lang.String DATE_FORMAT_ISO_8601
public static final java.text.SimpleDateFormat DEFAULT_FORMAT
public static final java.lang.String DATE_FORMAT_SIMPLE_DATE
public static final java.text.SimpleDateFormat SIMPLE_FORMAT_DATE
public static java.text.DateFormat getSignatureFormat()
ConsentSignatureStepLayout
public static java.text.DateFormat getFormat(int dateStyle, int timeStyle)
dateStyle
- style for the date defined by static constants within DateFormat
timeStyle
- style for the time defined by static constants within DateFormat
public static boolean isStyle(int style)