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

All Superinterfaces:
DateConverter
All Known Implementing Classes:
DatePickerConverterImpl

public interface DatePickerConverter
extends DateConverter


Field Summary
static java.util.Date USE_NOW_DATE
          This date is used as a placeholder in the Default Value of a Date Custom Field, to indicate that that we should return the current date when getDefault() is called.
 
Method Summary
 java.lang.String getString(java.util.Date value)
           
 java.sql.Timestamp getTimestamp(java.lang.String stringValue)
           
 

Field Detail

USE_NOW_DATE

static final java.util.Date USE_NOW_DATE
This date is used as a placeholder in the Default Value of a Date Custom Field, to indicate that that we should return the current date when getDefault() is called.

Method Detail

getString

java.lang.String getString(java.util.Date value)
Specified by:
getString in interface DateConverter

getTimestamp

java.sql.Timestamp getTimestamp(java.lang.String stringValue)
                                throws FieldValidationException
Specified by:
getTimestamp in interface DateConverter
Throws:
FieldValidationException


Copyright © 2002-2011 Atlassian. All Rights Reserved.