Interface TimeSource
- All Known Implementing Classes:
DefaultTimeSource
,FixedTimeSource
public interface TimeSource
Provides an abstraction from the current system time.
Certain aspects of Broadleaf can be run in a mode that allows the end user to override the
current time.
A convenient example of this is when previewing content. An approver may want to view the site as it would appear on a particular date or time.
See BroadleafProcessURLFilter for example usage of this construct.
-
Method Summary
-
Method Details
-
timeInMillis
long timeInMillis()
-