mobi.voiceassistant.client.converter
Class DateTimeConverter
java.lang.Object
mobi.voiceassistant.client.converter.DateTimeConverter
- All Implemented Interfaces:
- TokenConverter<DateTime>
public final class DateTimeConverter
- extends Object
- implements TokenConverter<DateTime>
Created with IntelliJ IDEA.
User: morfeusys
Date: 11.07.12
Time: 17:24
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final TokenConverter<DateTime> INSTANCE
getInstance
public static TokenConverter<DateTime> getInstance()
convert
public DateTime convert(Token token)
- Specified by:
convert
in interface TokenConverter<DateTime>
convertFuture
public static DateTime convertFuture(Date date,
Time time,
Time.Part part)