class OvernightRateSensitivity implements PointSensitivity, PointSensitivityBuilder, ImmutableBean, Serializable {

  public static OvernightRateSensitivity ofPeriod(
      OvernightIndexObservation observation,
      LocalDate endDate,
      double sensitivity) {

    return ofPeriod(observation, endDate, observation.getCurrency(), sensitivity);
  }

  private  OvernightRateSensitivity(
      OvernightIndexObservation observation,
      LocalDate endDate,
      Currency currency,
      double sensitivity);

}