Changeset 16085 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-03-08T19:21:09+01:00 (5 years ago)
Author:
simon04
Message:

see #18140 - Remove obsolete OpeningHoursParser.CheckMode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java

    r15978 r16085  
    3535        super(tr("Opening hours syntax"),
    3636                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 13147
    44      */
    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         }
    5737    }
    5838
Note: See TracChangeset for help on using the changeset viewer.