Uses of Class
freemarker.core.TemplateDateFormatFactory
-
Packages that use TemplateDateFormatFactory Package Description freemarker.core The seldom used or advanced parts of the fundamental FreeMarker API, compared tofreemarker.template
. -
-
Uses of TemplateDateFormatFactory in freemarker.core
Subclasses of TemplateDateFormatFactory in freemarker.core Modifier and Type Class Description class
AliasTemplateDateFormatFactory
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 TemplateDateFormatFactory Modifier and Type Method Description TemplateDateFormatFactory
Configurable. getCustomDateFormat(java.lang.String name)
Gets the custom name format registered for the name.Methods in freemarker.core that return types with arguments of type TemplateDateFormatFactory Modifier and Type Method Description java.util.Map<java.lang.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
.java.util.Map<java.lang.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 TemplateDateFormatFactory Modifier and Type Method Description void
Configurable. setCustomDateFormats(java.util.Map<java.lang.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
.
-