Changeset 107 in josm for src/org/openstreetmap/josm/tools
- Timestamp:
- 2006-07-08T00:25:28+02:00 (19 years ago)
- Location:
- src/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/tools/DateParser.java
r106 r107 26 26 "MM/dd/yyyy'T'HH:mm:ssZ", 27 27 "MM/dd/yyyy'T'HH:mm:ss", 28 "yyyy:MM:dd HH:mm:ss", // unfcklvble, but I have seen this... 28 29 }; 29 30 -
src/org/openstreetmap/josm/tools/ExifReader.java
r104 r107 2 2 3 3 import java.io.File; 4 import java.text.ParseException; 4 5 import java.util.Date; 5 6 import java.util.Iterator; … … 16 17 public class ExifReader { 17 18 18 @SuppressWarnings("unchecked") public static Date readTime(File filename) { 19 @SuppressWarnings("unchecked") public static Date readTime(File filename) throws ParseException { 19 20 try { 20 21 Metadata metadata = JpegMetadataReader.readMetadata(filename); … … 26 27 } 27 28 } 29 } catch (ParseException e) { 30 throw e; 28 31 } catch (Exception e) { 29 32 e.printStackTrace();
Note:
See TracChangeset
for help on using the changeset viewer.