static SingleOffsetTimezone of(ZonalOffset offset) {

        if (
            (offset.getIntegralAmount() == 0)
            && (offset.getFractionalAmount() == 0)
        ) {
            return UTC;
        } else {
            return new SingleOffsetTimezone(offset);
        }

    }
static SingleOffsetTimezone of ( ZonalOffset offset ) { if ( ( offset . getIntegralAmount ( ) == 0 ) && ( offset . getFractionalAmount ( ) == 0 ) ) { return UTC ; } else { return new SingleOffsetTimezone ( offset ) ; } }
<p>Fabrikmethode. </p>

@param   offset  fixed shift of local time relative to UTC in seconds