javax.validation.ClockProvider Java Examples

The following examples show how to use javax.validation.ClockProvider. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ValidatorFactoryWrapper.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public ClockProvider getClockProvider()
{
    return factory().getClockProvider();
}
 
Example #2
Source File: SingleValidatorFactoryWrapper.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public ClockProvider getClockProvider()
{
    return factory().getClockProvider();
}
 
Example #3
Source File: ValidatorBuilder.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public ClockProvider getDefaultClockProvider()
{
    return delegate.getDefaultClockProvider();
}
 
Example #4
Source File: ValidatorBuilder.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public ClockProvider getClockProvider()
{
    return delegate().getClockProvider();
}
 
Example #5
Source File: CustomValidatorProvider.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public ClockProvider getClockProvider()
{
    return Clock::systemDefaultZone;
}