@Override public ImmutableSwapIndex build() { return new ImmutableSwapIndex( name, active, fixingTime, fixingZone, template); }
/** * Obtains an instance from the specified name, time and template. * * @param name the index name * @param fixingTime the fixing time * @param fixingZone the time-zone of the fixing time * @param template the swap template * @return the index */ public static ImmutableSwapIndex of( String name, LocalTime fixingTime, ZoneId fixingZone, FixedIborSwapTemplate template) { return new ImmutableSwapIndex(name, true, fixingTime, fixingZone, template); }