Class EveryDayDef
java.lang.Object
com.dna.jopt.member.unit.nodeedge.time.EveryDayDef
- All Implemented Interfaces:
DateDef
A DateDef that matches every date unconditionally.
To make this type expressible in REST payloads, add the following entry to the
@JsonSubTypes annotation on DateDef:
@JsonSubTypes.Type(value = EveryDayDef.class, name = "EveryDay")and add the corresponding
@DiscriminatorMapping to the @Schema on
DateDef:
@DiscriminatorMapping(value = "EveryDay", schema = EveryDayDef.class)
If this type is intentionally internal-only and should never appear in the
generated spec, replace this @Schema with
@Schema(hidden = true) and do not register it in @JsonSubTypes.
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisOn(LocalDateTime time) static EveryDayDefof()