| Modifier and Type | Class and Description |
|---|---|
static class |
TimeGenerator.Companion |
| Modifier and Type | Field and Description |
|---|---|
static TimeGenerator.Companion |
Companion |
| Constructor and Description |
|---|
TimeGenerator(java.lang.String format)
Generates a time value for the provided format. If no format is provided, ISO time format is used. If an expression
is given, it will be evaluated to generate the time, otherwise 'now' will be used
|
TimeGenerator()
Generates a time value for the provided format. If no format is provided, ISO time format is used. If an expression
is given, it will be evaluated to generate the time, otherwise 'now' will be used
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1() |
TimeGenerator |
copy(java.lang.String format)
Generates a time value for the provided format. If no format is provided, ISO time format is used. If an expression
is given, it will be evaluated to generate the time, otherwise 'now' will be used
|
boolean |
equals(java.lang.Object p) |
java.lang.Object |
generate(java.lang.Object base) |
java.lang.String |
getFormat() |
int |
hashCode() |
java.util.Map<java.lang.String,java.lang.Object> |
toMap(PactSpecVersion pactSpecVersion) |
java.lang.String |
toString() |
public static TimeGenerator.Companion Companion
public TimeGenerator(java.lang.String format)
Generates a time value for the provided format. If no format is provided, ISO time format is used. If an expression is given, it will be evaluated to generate the time, otherwise 'now' will be used
public TimeGenerator()
Generates a time value for the provided format. If no format is provided, ISO time format is used. If an expression is given, it will be evaluated to generate the time, otherwise 'now' will be used
public java.util.Map<java.lang.String,java.lang.Object> toMap(PactSpecVersion pactSpecVersion)
public java.lang.Object generate(java.lang.Object base)
public java.lang.String getFormat()
public java.lang.String component1()
public TimeGenerator copy(java.lang.String format)
Generates a time value for the provided format. If no format is provided, ISO time format is used. If an expression is given, it will be evaluated to generate the time, otherwise 'now' will be used
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)