[ https://issues.apache.org/jira/browse/ISIS-2408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andi Huber closed ISIS-2408. ---------------------------- Resolution: Fixed superseded by new value semantics: @ValueSemantics(dateRenderAdjustDays=...) > Support for RenderedAdjusted facet for datetimes should be pluggable. > --------------------------------------------------------------------- > > Key: ISIS-2408 > URL: https://issues.apache.org/jira/browse/ISIS-2408 > Project: Isis > Issue Type: Improvement > Components: Isis Core, Isis Viewer Wicket > Affects Versions: 2.0.0-M3 > Reporter: Daniel Keir Haywood > Priority: Minor > > Currently the list of types is hard-coded in IsisConverterLocator > It is also inconsistent with the subclasses of > ScalarPanelTextFieldDatePickerAbstract and calls to #getAdjustBy(). > > {code:java} > if (java.util.Date.class == correspondingClass) { > return _Casts.uncheckedCast(new > DateConverterForJavaUtilDate(wicketViewerSettings, adjustBy)); > } > if (java.sql.Date.class == correspondingClass) { > ... > } > if (org.joda.time.LocalDate.class == correspondingClass) { > ... > } > if (org.joda.time.LocalDateTime.class == correspondingClass) { > ... > } > if (org.joda.time.DateTime.class == correspondingClass) { > ... > } > if (java.sql.Timestamp.class == correspondingClass) { > ... > } {code} > -- This message was sent by Atlassian Jira (v8.20.7#820007)