com.atlassian.jira.issue.customfields.converters
Class DateTimePickerConverter

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.converters.DateTimePickerConverter
All Implemented Interfaces:
DateConverter

public class DateTimePickerConverter
extends Object
implements DateConverter


Constructor Summary
DateTimePickerConverter(JiraAuthenticationContext jiraAuthenticationContext)
           
 
Method Summary
 String getFormattedDateParam(SearchRequest searchRequest, String dateParamName)
           
 String getString(Date value)
           
 Timestamp getTimestamp(String stringValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimePickerConverter

public DateTimePickerConverter(JiraAuthenticationContext jiraAuthenticationContext)
Method Detail

getString

public String getString(Date value)
Specified by:
getString in interface DateConverter

getTimestamp

public Timestamp getTimestamp(String stringValue)
                       throws FieldValidationException
Specified by:
getTimestamp in interface DateConverter
Throws:
FieldValidationException

getFormattedDateParam

public String getFormattedDateParam(SearchRequest searchRequest,
                                    String dateParamName)
Specified by:
getFormattedDateParam in interface DateConverter


Copyright © 2002-2009 Atlassian. All Rights Reserved.