Issue 1007: missing interface method for iso8601 codec

This commit is contained in:
Adrian Cole 2012-07-06 22:27:54 -07:00
parent a73240f41b
commit 7a776c0572
2 changed files with 6 additions and 3 deletions

View File

@ -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();
}

View File

@ -96,10 +96,12 @@ public class DateServiceDateCodecFactory implements DateCodecFactory {
}
@Override
public DateCodec rfc1123() {
return rfc1123Codec;
}
@Override
public DateCodec iso8601() {
return iso8601Codec;
}