mobi.voiceassistant.client.converter
Class DateTimeConverter

java.lang.Object
  extended by 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


Field Summary
static TokenConverter<DateTime> INSTANCE
           
 
Method Summary
 DateTime convert(Token token)
           
static DateTime convertFuture(Date date, Time time, Time.Part part)
           
static TokenConverter<DateTime> getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TokenConverter<DateTime> INSTANCE
Method Detail

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)