Class AbstractDateTimeMatchResult
java.lang.Object
com.github.tomakehurst.wiremock.matching.MatchResult
com.github.tomakehurst.wiremock.matching.AbstractDateTimeMatchResult
- All Implemented Interfaces:
Comparable<MatchResult>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.tomakehurst.wiremock.matching.MatchResult
MatchResult.DiffDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LocalDateTimeprotected final LocalDateTimeprotected final ZonedDateTimeprotected final ZonedDateTimeFields inherited from class com.github.tomakehurst.wiremock.matching.MatchResult
ARE_EXACT_MATCH -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDateTimeMatchResult(ZonedDateTime zonedExpected, LocalDateTime localExpected, ZonedDateTime zonedActual, LocalDateTime localActual) -
Method Summary
Modifier and TypeMethodDescriptiondoublebooleanprotected abstract booleanprotected abstract booleanprotected abstract booleanprotected abstract booleanMethods inherited from class com.github.tomakehurst.wiremock.matching.MatchResult
aggregate, aggregate, aggregateWeighted, aggregateWeighted, appendSubEvent, compareTo, exactMatch, exactMatch, getDiffDescriptions, getSubEvents, noMatch, noMatch, of, of, partialMatch, partialMatch, partialMatch
-
Field Details
-
localExpected
-
zonedExpected
-
zonedActual
-
localActual
-
-
Constructor Details
-
AbstractDateTimeMatchResult
public AbstractDateTimeMatchResult(ZonedDateTime zonedExpected, LocalDateTime localExpected, ZonedDateTime zonedActual, LocalDateTime localActual)
-
-
Method Details
-
isExactMatch
public boolean isExactMatch()- Specified by:
isExactMatchin classMatchResult
-
matchZonedZoned
protected abstract boolean matchZonedZoned() -
matchLocalLocal
protected abstract boolean matchLocalLocal() -
matchLocalZoned
protected abstract boolean matchLocalZoned() -
matchZonedLocal
protected abstract boolean matchZonedLocal() -
getDistance
public double getDistance()- Specified by:
getDistancein classMatchResult
-