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