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

Last change on this file since 1180 was 1169, checked in by stoecker, 15 years ago

removed usage of tab stops

  • Property svn:eol-style set to native
File size: 387 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/**
9 * Tries to parse a date as good as it can.
10 *
11 * @author Immanuel.Scholz
12 */
13public class DateParser {
14 public static Date parse(String d) throws ParseException {
15 return new PrimaryDateParser().parse(d);
16 }
17}
Note: See TracBrowser for help on using the repository browser.