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

Revision 2512, 386 bytes checked in by stoecker, 2 years ago (diff)

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

  • Property svn:eol-style set to native
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.