Last change
on this file since 6340 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
|
---|
2 | package org.openstreetmap.josm.tools;
|
---|
3 |
|
---|
4 | import java.text.ParseException;
|
---|
5 | import java.util.Date;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * Tries to parse a date as good as it can.
|
---|
9 | *
|
---|
10 | * @author Immanuel.Scholz
|
---|
11 | */
|
---|
12 | public 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.