| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DATE_STRING |
static String |
DEFAULT_INPUT_FORMAT |
| Constructor and Description |
|---|
Date() |
| Modifier and Type | Method and Description |
|---|---|
String |
date()
generate a date with "now"
|
String |
date(String outputFormat)
function call for now date with
SimpleDateFormat |
String |
date(String beginDate,
String endDate) |
String |
date(String beginDate,
String endDate,
String outputFormat)
random date between begin date and end date
|
String |
date(String beginDate,
String endDate,
String inputFormat,
String outputFormat)
random date between begin date and end date
|
public static final String DEFAULT_DATE_STRING
public static final String DEFAULT_INPUT_FORMAT
@FunctionInvocation public String date()
@FunctionInvocation public String date(String outputFormat)
SimpleDateFormatoutputFormat - simple date outputFormat@FunctionInvocation public String date(String beginDate, String endDate, String outputFormat)
beginDate - date with the dd-MM-yyyy HH:mm:ss formatendDate - date with the dd-MM-yyyy HH:mm:ss formatoutputFormat - output format in SimpleDateFormat format@FunctionInvocation public String date(String beginDate, String endDate, String inputFormat, String outputFormat)
beginDate - date with the dd-MM-yyyy HH:mm:ss formatendDate - date with the dd-MM-yyyy HH:mm:ss formatinputFormat - input format in SimpleDateFormat formatoutputFormat - output format in SimpleDateFormat format@FunctionInvocation public String date(String beginDate, String endDate)
beginDate - date with the dd-MM-yyyy HH:mm:ss formatendDate - date with the dd-MM-yyyy HH:mm:ss formatCopyright © 2022. All rights reserved.