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

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

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.data;

import java.time.LocalDateTime;

final class LocalDateTimeValue
    extends Value
{
    LocalDateTimeValue( final LocalDateTime value )
    {
        super( ValueTypes.LOCAL_DATE_TIME, value );
    }

    LocalDateTimeValue( final LocalDateTimeValue source )
    {
        super( ValueTypes.LOCAL_DATE_TIME, source.getObject() );
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy