Changeset 16085 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-03-08T19:21:09+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java
r15978 r16085 35 35 super(tr("Opening hours syntax"), 36 36 tr("This test checks the correct usage of the opening hours syntax.")); 37 }38 39 /**40 * In OSM, the syntax originally designed to describe opening hours, is now used to describe a few other things as well.41 * Some of those other tags work with points in time instead of time ranges.42 * To support this the mode can be specified.43 * @since 1314744 */45 public enum CheckMode {46 /** time ranges (opening_hours, lit, …) default */47 TIME_RANGE(0),48 /** points in time */49 POINTS_IN_TIME(1),50 /** both (time ranges and points in time, used by collection_times, service_times, …) */51 BOTH(2);52 private final int code;53 54 CheckMode(int code) {55 this.code = code;56 }57 37 } 58 38
Note:
See TracChangeset
for help on using the changeset viewer.