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

All Superinterfaces:
DateConverter
All Known Implementing Classes:
DatePickerConverterImpl

@Internal
public interface DatePickerConverter
extends DateConverter


Field Summary
static 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
 String getString(Date value)
           
 Timestamp getTimestamp(String stringValue)
           
 

Field Detail

USE_NOW_DATE

static final 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

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

getTimestamp

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.