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

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

There is a newer version: 2.3.1
Show newest version
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