Spring Data Couchbase

org.springframework.data.couchbase.core.convert
Class DateConverters

java.lang.Object
  extended by org.springframework.data.couchbase.core.convert.DateConverters

public final class DateConverters
extends Object

Out of the box conversions for java dates and calendars.

Author:
Michael Nitschinger

Nested Class Summary
static class DateConverters.CalendarToLongConverter
           
static class DateConverters.DateMidnightToLongConverter
           
static class DateConverters.DateTimeToLongConverter
           
static class DateConverters.DateToLongConverter
           
static class DateConverters.LocalDateTimeToLongConverter
           
static class DateConverters.LocalDateToLongConverter
           
static class DateConverters.LongToCalendarConverter
           
static class DateConverters.LongToDateConverter
           
static class DateConverters.LongToDateMidnightConverter
           
static class DateConverters.LongToDateTimeConverter
           
static class DateConverters.LongToLocalDateConverter
           
static class DateConverters.LongToLocalDateTimeConverter
           
 
Method Summary
static Collection<Converter<?,?>> getConvertersToRegister()
          Returns all converters by this class that can be registered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConvertersToRegister

public static Collection<Converter<?,?>> getConvertersToRegister()
Returns all converters by this class that can be registered.

Returns:
the list of converters to register.

Spring Data Couchbase

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.