Class EqualToDateTimePattern
java.lang.Object
com.github.tomakehurst.wiremock.matching.ContentPattern<String>
com.github.tomakehurst.wiremock.matching.StringValuePattern
com.github.tomakehurst.wiremock.matching.AbstractDateTimePattern
com.github.tomakehurst.wiremock.matching.EqualToDateTimePattern
- All Implemented Interfaces:
NamedValueMatcher<String>
,ValueMatcher<String>
-
Field Summary
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue
-
Constructor Summary
ConstructorsConstructorDescriptionEqualToDateTimePattern
(String dateTimeSpec) EqualToDateTimePattern
(String dateTimeSpec, String actualDateFormat, String truncateExpected, String truncateActual, Integer expectedOffsetAmount, DateTimeUnit expectedOffsetUnit) EqualToDateTimePattern
(LocalDateTime localDateTime) EqualToDateTimePattern
(ZonedDateTime zonedDateTime) -
Method Summary
Modifier and TypeMethodDescriptionprotected MatchResult
getMatchResult
(ZonedDateTime zonedExpected, LocalDateTime localExpected, ZonedDateTime zonedActual, LocalDateTime localActual) Methods inherited from class com.github.tomakehurst.wiremock.matching.AbstractDateTimePattern
actualFormat, expectedOffset, expectedOffset, getActualFormat, getTruncateActual, getTruncateExpected, getValue, match, truncateActual, truncateExpected
Methods inherited from class com.github.tomakehurst.wiremock.matching.StringValuePattern
and, equals, getExpected, getName, hashCode, isAbsent, isPresent, nullSafeIsAbsent, or, toString
Methods inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
isNullValuePermitted
-
Constructor Details
-
EqualToDateTimePattern
-
EqualToDateTimePattern
-
EqualToDateTimePattern
-
EqualToDateTimePattern
-
-
Method Details
-
getMatchResult
protected MatchResult getMatchResult(ZonedDateTime zonedExpected, LocalDateTime localExpected, ZonedDateTime zonedActual, LocalDateTime localActual) - Specified by:
getMatchResult
in classAbstractDateTimePattern
-
getEqualToDateTime
-