Class FriendlyFormatDateTimeFunction
java.lang.Object
com.atlassian.confluence.plugins.soy.FriendlyFormatDateTimeFunction
- All Implemented Interfaces:
com.atlassian.soy.renderer.SoyClientFunction
,com.atlassian.soy.renderer.SoyFunction
,com.atlassian.soy.renderer.SoyServerFunction<String>
public class FriendlyFormatDateTimeFunction
extends Object
implements com.atlassian.soy.renderer.SoyServerFunction<String>, com.atlassian.soy.renderer.SoyClientFunction
Soy function for formatting dates.
- See Also:
-
Constructor Summary
ConstructorDescriptionFriendlyFormatDateTimeFunction
(UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, I18NBeanFactory factory) -
Method Summary
-
Constructor Details
-
FriendlyFormatDateTimeFunction
public FriendlyFormatDateTimeFunction(UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, I18NBeanFactory factory)
-
-
Method Details
-
getName
- Specified by:
getName
in interfacecom.atlassian.soy.renderer.SoyFunction
-
validArgSizes
- Specified by:
validArgSizes
in interfacecom.atlassian.soy.renderer.SoyFunction
-
apply
- 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
-