class R4DateTimeDhisToFhirTransformerUtils extends AbstractDateTimeDhisToFhirTransformerUtils {

    @Nullable
    @Override
    public IPrimitiveType<Date> getDayDateTimeElement( @Nullable Object dateTime )
    {
        final LocalDateTime date = castDateTime( dateTime );
        if ( date == null )
        {
            return null;
        }
        return new DateTimeType( Date.from( date.atZone( zoneId ).toInstant() ), TemporalPrecisionEnum.DAY );
    }

    public  R4DateTimeDhisToFhirTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext );

}