Uses of Class
freemarker.core.TemplateDateFormatFactory
Packages that use TemplateDateFormatFactory
Package
Description
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template
.-
Uses of TemplateDateFormatFactory in freemarker.core
Subclasses of TemplateDateFormatFactory in freemarker.coreModifier and TypeClassDescriptionfinal class
Creates an alias to another format, so that the format can be referred to with a simple name in the template, rather than as a concrete pattern or other kind of format string.Methods in freemarker.core that return TemplateDateFormatFactoryModifier and TypeMethodDescriptionConfigurable.getCustomDateFormat
(String name) Gets the custom name format registered for the name.Methods in freemarker.core that return types with arguments of type TemplateDateFormatFactoryModifier and TypeMethodDescriptionMap
<String, ? extends TemplateDateFormatFactory> Configurable.getCustomDateFormats()
Getter pair ofConfigurable.setCustomDateFormats(Map)
; do not modify the returnedMap
! To be consistent with other setting getters, if this setting was set directly on thisConfigurable
object, this simply returns that value, otherwise it returns the value from the parentConfigurable
.Map
<String, ? extends TemplateDateFormatFactory> Configurable.getCustomDateFormatsWithoutFallback()
LikeConfigurable.getCustomDateFormats()
, but doesn't fall back to the parentConfigurable
, nor does it provide a non-null
default when called as the method of aConfiguration
.Method parameters in freemarker.core with type arguments of type TemplateDateFormatFactoryModifier and TypeMethodDescriptionvoid
Configurable.setCustomDateFormats
(Map<String, ? extends TemplateDateFormatFactory> customDateFormats) Associates names with formatter factories, which then can be referred by thedate_format
,time_format
, anddatetime_format
settings with values starting with@name
.