us.bpsm.edn.parser.InstantToDate Maven / Gradle / Ivy
// (c) 2012 B Smith-Mannschott -- Distributed under the Eclipse Public License
package us.bpsm.edn.parser;
/**
* A Handler for {@code #inst} which translates the intant into a
* {@link java.util.Date}.
*/
public final class InstantToDate extends AbstractInstantHandler {
@Override
protected Object transform(ParsedInstant pi) {
return InstantUtils.makeDate(pi);
}
}