Class NowNode
java.lang.Object
org.assertstruct.template.node.ScalarNode
org.assertstruct.impl.factories.date.NowNode
- All Implemented Interfaces:
ValueMatcher,MatchResult,TemplateNode
-
Constructor Summary
ConstructorsConstructorDescriptionNowNode(long precision, boolean strictCheck, List<DateTimeFormatter> dateTimeFormatters, TemplateKey key, ExtToken token) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstrictMatch(Object value, Matcher context) booleanunstrictMatch(Object value, Matcher context) Methods inherited from class org.assertstruct.template.node.ScalarNode
addSharedValidatorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertstruct.result.MatchResult
isConfigMethods inherited from interface org.assertstruct.template.TemplateNode
asArray, asDict, getEndToken, getKey, getMatchedTo, getStartToken, getToken, getValidators, hasDifference, isDataNode, isScalar, isStruct, print, printDebug, printEnd, printStart
-
Constructor Details
-
NowNode
public NowNode(long precision, boolean strictCheck, List<DateTimeFormatter> dateTimeFormatters, TemplateKey key, ExtToken token)
-
-
Method Details
-
match
-
strictMatch
-
unstrictMatch
-