public class FormatDateFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<String>, com.atlassian.soy.renderer.SoyClientFunction
Constructor and Description |
---|
FormatDateFunction(UserAccessor userAccessor,
FormatSettingsManager formatSettingsManager,
LocaleManager localeManager,
I18NBeanFactory factory) |
Modifier and Type | Method and Description |
---|---|
String |
apply(Object... args) |
com.atlassian.soy.renderer.JsExpression |
generate(com.atlassian.soy.renderer.JsExpression... args) |
String |
getName() |
Set<Integer> |
validArgSizes() |
public FormatDateFunction(UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, I18NBeanFactory factory)
public String getName()
getName
in interface com.atlassian.soy.renderer.SoyFunction
public Set<Integer> validArgSizes()
validArgSizes
in interface com.atlassian.soy.renderer.SoyFunction
public String apply(Object... args)
apply
in interface com.atlassian.soy.renderer.SoyServerFunction<String>
public com.atlassian.soy.renderer.JsExpression generate(com.atlassian.soy.renderer.JsExpression... args)
generate
in interface com.atlassian.soy.renderer.SoyClientFunction
Copyright © 2003–2017 Atlassian. All rights reserved.