All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jparams.object.builder.provider.LocalDateProvider Maven / Gradle / Ivy

package com.jparams.object.builder.provider;

import java.time.LocalDate;

import com.jparams.object.builder.provider.context.ProviderContext;

public class LocalDateProvider implements Provider
{
    @Override
    public boolean supports(final Class clazz)
    {
        return clazz.isAssignableFrom(LocalDate.class);
    }

    @Override
    public LocalDate provide(final ProviderContext context)
    {
        return LocalDate.now();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy