com.github.rutledgepaulv.qbuilders.delegates.concrete.InstantPropertyDelegate Maven / Gradle / Ivy
/*
*
* * com.github.rutledgepaulv.qbuilders.delegates.concrete.InstantPropertyDelegate
* * *
* * * Copyright (C) 2016 Paul Rutledge
* * *
* * * This software may be modified and distributed under the terms
* * * of the MIT license. See the LICENSE file for details.
* *
*
*/
package com.github.rutledgepaulv.qbuilders.delegates.concrete;
import com.github.rutledgepaulv.qbuilders.builders.QBuilder;
import com.github.rutledgepaulv.qbuilders.delegates.virtual.InstantLikePropertyDelegate;
import com.github.rutledgepaulv.qbuilders.properties.concrete.InstantProperty;
import com.github.rutledgepaulv.qbuilders.structures.FieldPath;
import java.time.Instant;
public final class InstantPropertyDelegate>
extends InstantLikePropertyDelegate implements InstantProperty {
public InstantPropertyDelegate(FieldPath field, T canonical) {
super(field, canonical);
}
@Override
protected Instant normalize(Instant instant) {
return instant;
}
}