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

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

public class DatePickerConverter
extends Object
implements DateConverter


Field Summary
static Date USE_NOW_DATE
           
 
Constructor Summary
DatePickerConverter(JiraAuthenticationContext jiraAuthenticationContext)
           
 
Method Summary
 String getFormattedDateParam(SearchRequest searchRequest, String name)
           
 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
 

Field Detail

USE_NOW_DATE

public static final Date USE_NOW_DATE
Constructor Detail

DatePickerConverter

public DatePickerConverter(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 name)
Specified by:
getFormattedDateParam in interface DateConverter


Copyright © 2002-2008 Atlassian. All Rights Reserved.