avapractices.com/topic/TopicAction.do?Id=234'>fake system clock, in order to exercise code that uses date logic. When you implement this interface, you are instructing WEB4J classes on what time value they should use as the system clock. This allows your application to
share its fake system clock with the framework, so that they can both use the exact same clock.
See {@link hirondelle.web4j.BuildImpl} for instructions on how to configure an implementation of this interface.
The following WEB4J framework classes use TimeSource :
- {@link hirondelle.web4j.model.DateTime#now(TimeZone)} - returns the current date-time
- {@link hirondelle.web4j.ui.tag.ShowDate} - displays the current date-time
- {@link hirondelle.web4j.webmaster.LoggingConfigImpl} - both the name of the logging file and the date-time attached to each logging record are affected
- {@link hirondelle.web4j.webmaster.TroubleTicket} - uses the current date-time
- {@link hirondelle.web4j.Controller} - upon startup, it places the current date-time in application scope