Spring Data Jpa

org.springframework.data.jpa.domain.support
Interface DateTimeProvider

All Known Implementing Classes:
CurrentDateTimeProvider

public interface DateTimeProvider

SPI to calculate the DateTime instance to be used when auditing.

Author:
Oliver Gierke

Method Summary
 org.joda.time.DateTime getDateTime()
          Returns the DateTime to be used as modification date.
 

Method Detail

getDateTime

org.joda.time.DateTime getDateTime()
Returns the DateTime to be used as modification date.

Returns:

Spring Data Jpa

Copyright © 2011-2012 SpringSource. All Rights Reserved.