mirror of https://github.com/apache/jclouds.git
Issue 1007: missing interface method for iso8601 codec
This commit is contained in:
parent
a73240f41b
commit
7a776c0572
|
@ -22,7 +22,6 @@ import org.jclouds.date.internal.DateServiceDateCodecFactory;
|
|||
|
||||
import com.google.inject.ImplementedBy;
|
||||
|
||||
|
||||
/**
|
||||
* Codecs for converting from Date->String and vice versa.
|
||||
*
|
||||
|
@ -31,5 +30,7 @@ import com.google.inject.ImplementedBy;
|
|||
@ImplementedBy(DateServiceDateCodecFactory.class)
|
||||
public interface DateCodecFactory {
|
||||
|
||||
public DateCodec rfc1123();
|
||||
DateCodec rfc1123();
|
||||
|
||||
DateCodec iso8601();
|
||||
}
|
||||
|
|
|
@ -96,10 +96,12 @@ public class DateServiceDateCodecFactory implements DateCodecFactory {
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public DateCodec rfc1123() {
|
||||
return rfc1123Codec;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public DateCodec iso8601() {
|
||||
return iso8601Codec;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue