Spring Data Core

org.springframework.data.auditing
Interface DateTimeProvider

All Known Implementing Classes:
CurrentDateTimeProvider

public interface DateTimeProvider

SPI to calculate the current time to be used when auditing.

Since:
1.5
Author:
Oliver Gierke

Method Summary
 Calendar getNow()
          Returns the current time to be used as modification or creation date.
 

Method Detail

getNow

Calendar getNow()
Returns the current time to be used as modification or creation date.

Returns:

Spring Data Core

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