Class DateTimeWidget
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.web.widgets.Widget
-
- edu.cornell.mannlib.vitro.webapp.web.widgets.DateTimeWidget
-
public class DateTimeWidget extends Widget
This widget is intended to assist in dealing with xsd:dateTime values from Literals. It is intended to be used like this:<@widget name="DateTime" dateTime="2010-11-23T11:03:23" > The year is ${year} The month is ${month} The day is ${day} The hour is ${hour} The second is ${second} precision of date entered: ${precisionUri} </@widget>- Author:
- bdc34
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.web.widgets.Widget
Widget.WidgetProcessingException, Widget.WidgetTemplateValues
-
-
Constructor Summary
Constructors Constructor Description DateTimeWidget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Widget.WidgetTemplateValuesprocess(freemarker.core.Environment env, Map params, javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext context)-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.web.widgets.Widget
doAssets, doMarkup, getAssetsMacroName, getMarkupMacroName, getTemplateName
-
-