
us.bpsm.edn.parser.InstantToCalendar Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edn-java Show documentation
Show all versions of edn-java Show documentation
edn-java is an parser and printer for 'edn' written in Java, for Java and
requiring no external dependencies.
// (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.Calendar}.
*/
public class InstantToCalendar extends AbstractInstantHandler {
@Override
protected Object transform(ParsedInstant pi) {
return InstantUtils.makeCalendar(pi);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy