mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
support for Belgium
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@108 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
6df40b5f95
commit
74ec34e78f
2 changed files with 253 additions and 0 deletions
|
@ -161,6 +161,18 @@ public final class ParserUtils
|
|||
}
|
||||
}
|
||||
|
||||
public static Date parseDateSlash(final String str)
|
||||
{
|
||||
try
|
||||
{
|
||||
return new SimpleDateFormat("dd/MM/yy").parse(str);
|
||||
}
|
||||
catch (final ParseException x)
|
||||
{
|
||||
throw new RuntimeException(x);
|
||||
}
|
||||
}
|
||||
|
||||
public static Date parseTime(final String str)
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue