class TemporalUtil {

    public static long getNanosOfDayUTC( OffsetTime value )
    {
        long secondsOfDayLocal = value.toLocalTime().toSecondOfDay();
        long secondsOffset = value.getOffset().getTotalSeconds();
        return (secondsOfDayLocal - secondsOffset) * NANOS_PER_SECOND + value.getNano();
    }

    private  TemporalUtil();

}