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