com.atlassian.confluence.plugins.soy
Class FormatTimeFunction
java.lang.Object
com.atlassian.confluence.plugins.soy.FormatTimeFunction
- All Implemented Interfaces:
- com.atlassian.soy.renderer.SoyFunction, com.atlassian.soy.renderer.SoyServerFunction<String>
public class FormatTimeFunction
- extends Object
- implements com.atlassian.soy.renderer.SoyServerFunction<String>
Soy function for formatting dates.
- See Also:
FormatDateFunction
,
FriendlyFormatDateTimeFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormatTimeFunction
public FormatTimeFunction(UserAccessor userAccessor,
FormatSettingsManager formatSettingsManager,
LocaleManager localeManager,
I18NBeanFactory factory)
getName
public String getName()
- Specified by:
getName
in interface com.atlassian.soy.renderer.SoyFunction
validArgSizes
public Set<Integer> validArgSizes()
- Specified by:
validArgSizes
in interface com.atlassian.soy.renderer.SoyFunction
apply
public String apply(Object... args)
- Specified by:
apply
in interface com.atlassian.soy.renderer.SoyServerFunction<String>
Copyright © 2003–2015 Atlassian. All rights reserved.