com.atlassian.jira.datetime
Class ExampleDateFormatOutputGenerator

java.lang.Object
  extended by com.atlassian.jira.datetime.ExampleDateFormatOutputGenerator
All Implemented Interfaces:
ExampleGenerator

public class ExampleDateFormatOutputGenerator
extends Object
implements ExampleGenerator

This simple function returns an example date/time formatted with the given pattern. To be used for generating an example of the output for a given pattern.

Since:
v5.2

Constructor Summary
ExampleDateFormatOutputGenerator()
           
 
Method Summary
 String generate(Object pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleDateFormatOutputGenerator

public ExampleDateFormatOutputGenerator()
Method Detail

generate

public String generate(Object pattern)
Specified by:
generate in interface ExampleGenerator


Copyright © 2002-2014 Atlassian. All Rights Reserved.