public class InstantToCalendar extends AbstractInstantHandler
#inst which translates the instant into a
Calendar.| Constructor and Description |
|---|
InstantToCalendar() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
transform(ParsedInstant pi)
This will be called by the Parser when parsing an
#inst value. |
transformprotected Object transform(ParsedInstant pi)
AbstractInstantHandler#inst value.
Implement it to return an instance of your chosen instant representation.transform in class AbstractInstantHandlerpi - The contents fields of string following the #inst tag
as a ParsedInstant.Copyright © 2019. All rights reserved.