Spring Data Core

org.springframework.data.auditing
Interface DateTimeProvider

All Known Implementing Classes:
CurrentDateTimeProvider

public interface DateTimeProvider

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

Since:
1.5
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 Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.