Class FormatDateFunction
- java.lang.Object
-
- com.atlassian.confluence.plugins.soy.FormatDateFunction
-
- All Implemented Interfaces:
com.atlassian.soy.renderer.SoyClientFunction
,com.atlassian.soy.renderer.SoyFunction
,com.atlassian.soy.renderer.SoyServerFunction<String>
public class FormatDateFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<String>, com.atlassian.soy.renderer.SoyClientFunction
Soy function for formatting dates.
-
-
Constructor Summary
Constructors Constructor Description FormatDateFunction(UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, I18NBeanFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apply(Object... args)
com.atlassian.soy.renderer.JsExpression
generate(com.atlassian.soy.renderer.JsExpression... args)
String
getName()
Set<Integer>
validArgSizes()
-
-
-
Constructor Detail
-
FormatDateFunction
public FormatDateFunction(UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, I18NBeanFactory factory)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfacecom.atlassian.soy.renderer.SoyFunction
-
validArgSizes
public Set<Integer> validArgSizes()
- Specified by:
validArgSizes
in interfacecom.atlassian.soy.renderer.SoyFunction
-
apply
public String apply(Object... args)
- Specified by:
apply
in interfacecom.atlassian.soy.renderer.SoyServerFunction<String>
-
generate
public com.atlassian.soy.renderer.JsExpression generate(com.atlassian.soy.renderer.JsExpression... args)
- Specified by:
generate
in interfacecom.atlassian.soy.renderer.SoyClientFunction
-
-