public class FriendlyFormatDateTimeFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<String>, com.atlassian.soy.renderer.SoyClientFunction
FormatDateFunction
,
FormatDateTimeFunction
Constructor and Description |
---|
FriendlyFormatDateTimeFunction(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 FriendlyFormatDateTimeFunction(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–2016 Atlassian. All rights reserved.