com.jparams.object.builder.provider.LocalDateProvider Maven / Gradle / Ivy
package com.jparams.object.builder.provider;
import java.time.LocalDate;
import com.jparams.object.builder.Context;
public class LocalDateProvider implements Provider
{
@Override
public boolean supports(final Class> clazz)
{
return clazz.isAssignableFrom(LocalDate.class);
}
@Override
public LocalDate provide(final Context context)
{
return LocalDate.now();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy