diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2007-08-31 01:05:49 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2007-08-31 01:05:49 +0000 |
commit | 1a89c8b6e4e558a669c3736e6cb93206d4ace408 (patch) | |
tree | be253387e263d141e1776712d7a06581e1e6e189 /src/main/java/com/amazon/carbonado/adapter | |
parent | e35d1a8e181d06ccd20a39863120c863f5c5cffd (diff) |
Automatically apply adapter for java.util.Date.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/adapter')
-rw-r--r-- | src/main/java/com/amazon/carbonado/adapter/DateTimeAdapter.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/com/amazon/carbonado/adapter/DateTimeAdapter.java b/src/main/java/com/amazon/carbonado/adapter/DateTimeAdapter.java index f2965e0..53e9d4e 100644 --- a/src/main/java/com/amazon/carbonado/adapter/DateTimeAdapter.java +++ b/src/main/java/com/amazon/carbonado/adapter/DateTimeAdapter.java @@ -44,10 +44,9 @@ import com.amazon.carbonado.adapter.AdapterDefinition; /**
* Converts Joda-Time datetime objects to and from other forms. This adapter is
* applied automatically for all storable properties of type {@link DateTime},
- * {@link DateMidnight}, {@link LocalDateTime} and {@link LocalDate}. Explicit
- * use allows a different time zone to be used. DateTimeAdapter can also be
- * used to support {@link Date} properties, but it must be explicitly
- * specified.
+ * {@link DateMidnight}, {@link LocalDateTime}, {@link LocalDate} and also
+ * {@link java.util.Date}. Explicit use allows a different time zone to be
+ * used, but this only works for Joda-Time objects.
*
* <p>Example:<pre>
* public interface UserInfo extends Storable {
|