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:
andreas.schildbach 2010-08-26 16:45:54 +00:00
parent 6df40b5f95
commit 74ec34e78f
2 changed files with 253 additions and 0 deletions

View file

@ -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