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

com.enonic.xp.data.LocalDateValue Maven / Gradle / Ivy

The newest version!
package com.enonic.xp.data;

import java.time.LocalDate;

final class LocalDateValue
    extends Value
{
    LocalDateValue( final LocalDate value )
    {
        super( ValueTypes.LOCAL_DATE, value );
    }

    LocalDateValue( final LocalDateValue source )
    {
        super( ValueTypes.LOCAL_DATE, source.getObject() );
    }

    @Override
    Value copy( final PropertyTree tree )
    {
        return new LocalDateValue( this );
    }

    @Override
    Object toJsonValue()
    {
        return asString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy