Changeset 90 in josm for src/org/openstreetmap/josm/data


Ignore:
Timestamp:
2006-04-21T20:05:14+02:00 (19 years ago)
Author:
imi
Message:
  • fixed that toggle dialog buttons are sync with the dialogs
  • added search for timestamp (e.g. timestamp:06-3-25)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/data/osm/OsmPrimitive.java

    r86 r90  
    11package org.openstreetmap.josm.data.osm;
    22
     3import java.text.SimpleDateFormat;
    34import java.util.Collection;
    45import java.util.Collections;
     
    161162                (keys == null ? osm.keys==null : keys.equals(osm.keys));
    162163        }
     164       
     165        public String getTimeStr() {
     166                return timestamp == null ? null : new SimpleDateFormat("y-M-d H:m:s").format(timestamp);
     167        }
    163168}
Note: See TracChangeset for help on using the changeset viewer.