org.jclouds.date
Interface DateCodec
- All Known Implementing Classes:
- DateServiceDateCodecFactory.DateServiceIso8601Codec, DateServiceDateCodecFactory.DateServiceRfc1123Codec
public interface DateCodec
converting from Date->String and vice versa.
- Author:
- aled
toDate
Date toDate(String date)
throws IllegalArgumentException
- Parameters:
toParse - text to parse
- Returns:
- parsed date
- Throws:
IllegalArgumentException - if the input is invalid
toString
String toString(Date date)
Copyright © 2009-2012 jclouds. All Rights Reserved.