Class ZoneIdFormat

java.lang.Object
com.networknt.schema.format.BaseFormat
com.networknt.schema.format.AbstractFormat
ai.timefold.solver.service.json.api.schema.ZoneIdFormat
All Implemented Interfaces:
com.networknt.schema.Format

public class ZoneIdFormat extends com.networknt.schema.format.AbstractFormat
This Format implementation verifies a timezone ID according to ZoneId.of(String). The Schema needs to specify the custom format "timezone-id".
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(String value)
     

    Methods inherited from class com.networknt.schema.format.AbstractFormat

    matches

    Methods inherited from class com.networknt.schema.format.BaseFormat

    getErrorMessageDescription, getName

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.networknt.schema.Format

    getMessageKey, matches, matches, matches, validate
  • Field Details

  • Constructor Details

    • ZoneIdFormat

      public ZoneIdFormat()
  • Method Details

    • matches

      public boolean matches(String value)
      Specified by:
      matches in class com.networknt.schema.format.AbstractFormat