Package | Description |
---|---|
org.openstreetmap.josm.data.validation.tests |
Modifier and Type | Method and Description |
---|---|
static OpeningHourTest.CheckMode |
OpeningHourTest.CheckMode.valueOf(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,
String key,
OpeningHourTest.CheckMode mode) |
List<OpeningHourTest.OpeningHoursTestError> |
OpeningHourTest.checkOpeningHourSyntax(String key,
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. |
List<OpeningHourTest.OpeningHoursTestError> |
OpeningHourTest.checkOpeningHourSyntax(String key,
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 Object |
OpeningHourTest.parse(String value,
OpeningHourTest.CheckMode mode) |