source: josm/trunk/src/org/openstreetmap/josm/tools/DateParser.java@ 6040

Last change on this file since 6040 was 2512, checked in by stoecker, 14 years ago

i18n updated, fixed files to reduce problems when applying patches, fix #4017

  • Property svn:eol-style set to native
File size: 386 bytes
Line 
1// License: GPL. Copyright 2007 by Immanuel Scholz and others
2package org.openstreetmap.josm.tools;
3
4import java.text.ParseException;
5import java.util.Date;
6
7/**
8 * Tries to parse a date as good as it can.
9 *
10 * @author Immanuel.Scholz
11 */
12public class DateParser {
13 public static Date parse(String d) throws ParseException {
14 return new PrimaryDateParser().parse(d);
15 }
16}
Note: See TracBrowser for help on using the repository browser.