com.atlassian.confluence.plugins.soy
Class FormatTimeFunction

java.lang.Object
  extended by com.atlassian.confluence.plugins.soy.FormatTimeFunction
All Implemented Interfaces:
com.atlassian.soy.renderer.SoyFunction, com.atlassian.soy.renderer.SoyServerFunction<java.lang.String>

public class FormatTimeFunction
extends java.lang.Object
implements com.atlassian.soy.renderer.SoyServerFunction<java.lang.String>

Soy function for formatting dates.

See Also:
FormatDateFunction, FriendlyFormatDateTimeFunction

Constructor Summary
FormatTimeFunction(UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, I18NBeanFactory factory)
           
 
Method Summary
 java.lang.String apply(java.lang.Object... args)
           
 java.lang.String getName()
           
 java.util.Set<java.lang.Integer> validArgSizes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatTimeFunction

public FormatTimeFunction(UserAccessor userAccessor,
                          FormatSettingsManager formatSettingsManager,
                          LocaleManager localeManager,
                          I18NBeanFactory factory)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface com.atlassian.soy.renderer.SoyFunction

validArgSizes

public java.util.Set<java.lang.Integer> validArgSizes()
Specified by:
validArgSizes in interface com.atlassian.soy.renderer.SoyFunction

apply

public java.lang.String apply(java.lang.Object... args)
Specified by:
apply in interface com.atlassian.soy.renderer.SoyServerFunction<java.lang.String>


Copyright © 2003-2014 Atlassian. All Rights Reserved.