Package | Description |
---|---|
org.openstreetmap.josm.data.validation.tests |
Modifier and Type | Method and Description |
---|---|
static OpeningHourTest.CheckMode |
OpeningHourTest.CheckMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpeningHourTest.CheckMode[] |
OpeningHourTest.CheckMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OpeningHourTest.check(OsmPrimitive p,
java.lang.String key,
OpeningHourTest.CheckMode mode) |
java.util.List<OpeningHourTest.OpeningHoursTestError> |
OpeningHourTest.checkOpeningHourSyntax(java.lang.String key,
java.lang.String value,
OpeningHourTest.CheckMode mode)
Checks for a correct usage of the opening hour syntax of the
value given according to
opening_hours.js and returns a list containing
validation errors or an empty list. |
java.util.List<OpeningHourTest.OpeningHoursTestError> |
OpeningHourTest.checkOpeningHourSyntax(java.lang.String key,
java.lang.String value,
OpeningHourTest.CheckMode mode,
boolean ignoreOtherSeverity)
Checks for a correct usage of the opening hour syntax of the
value given according to
opening_hours.js and returns a list containing
validation errors or an empty list. |
protected java.lang.Object |
OpeningHourTest.parse(java.lang.String value,
OpeningHourTest.CheckMode mode) |