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

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

There is a newer version: 2.3.1
Show newest version
package com.jparams.object.builder.provider;

import java.util.Date;

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

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

    @Override
    public Date provide(final ProviderContext context)
    {
        return new Date();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy