public static au.com.dius.pact.core.model.generators.DateTimeGenerator.Companion Companion
@JvmOverloads
public DateTimeGenerator(@Nullable
java.lang.String format,
@Nullable
java.lang.String expression)
Generates a datetime value for the provided format. If no format is provided, ISO format is used. If an expression is given, it will be evaluated to generate the datetime, otherwise 'now' will be used
@JvmOverloads
public DateTimeGenerator(@Nullable
java.lang.String format)
Generates a datetime value for the provided format. If no format is provided, ISO format is used. If an expression is given, it will be evaluated to generate the datetime, otherwise 'now' will be used
@JvmOverloads public DateTimeGenerator()
Generates a datetime value for the provided format. If no format is provided, ISO format is used. If an expression is given, it will be evaluated to generate the datetime, otherwise 'now' will be used
@NotNull
public java.util.Map<java.lang.String,java.lang.Object> toMap(@NotNull
PactSpecVersion pactSpecVersion)
@NotNull
public java.lang.Object generate(@NotNull
java.util.Map<java.lang.String,? extends java.lang.Object> context)
@Nullable public java.lang.String getFormat()
@Nullable public java.lang.String getExpression()
@Nullable public java.lang.String component1()
@Nullable public java.lang.String component2()
@NotNull public DateTimeGenerator copy(@Nullable java.lang.String format, @Nullable java.lang.String expression)
Generates a datetime value for the provided format. If no format is provided, ISO format is used. If an expression is given, it will be evaluated to generate the datetime, otherwise 'now' will be used
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)