Class BeforeDateTimePattern
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.BeforeDateTimePattern
- All Implemented Interfaces:
NamedValueMatcher<String>
,ValueMatcher<String>
-
Field Summary
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue
-
Constructor Summary
ConstructorsConstructorDescriptionBeforeDateTimePattern
(String dateTimeSpec) BeforeDateTimePattern
(String dateTimeSpec, String actualDateFormat, String truncateExpected, String truncateActual, Integer expectedOffsetAmount, DateTimeUnit expectedOffsetUnit) BeforeDateTimePattern
(LocalDateTime localDateTime) BeforeDateTimePattern
(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
-
BeforeDateTimePattern
-
BeforeDateTimePattern
-
BeforeDateTimePattern
-
BeforeDateTimePattern
-
-
Method Details
-
getMatchResult
protected MatchResult getMatchResult(ZonedDateTime zonedExpected, LocalDateTime localExpected, ZonedDateTime zonedActual, LocalDateTime localActual) - Specified by:
getMatchResult
in classAbstractDateTimePattern
-
getBefore
-