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