code: @Deprecated
      public int getWeekendTransition(int dayOfWeek) {
          if (dayOfWeek == weekendOnset) {
              return weekendOnsetMillis;
          } else if (dayOfWeek == weekendCease) {
              return weekendCeaseMillis;
          }
          throw new IllegalArgumentException("Not weekend transition day");
      }
docs: <strong>[icu]</strong> Returns the time during the day at which the weekend begins or end in this
  calendar system.  If getDayOfWeekType(dayOfWeek) == WEEKEND_ONSET return the time
  at which the weekend begins.  If getDayOfWeekType(dayOfWeek) == WEEKEND_CEASE
  return the time at which the weekend ends.  If getDayOfWeekType(dayOfWeek) has some
  other value, then throw an exception.
  @param dayOfWeek either SUNDAY, MONDAY, TUESDAY, WEDNESDAY,
  THURSDAY, FRIDAY, or SATURDAY
  @return the milliseconds after midnight at which the
  weekend begins or ends
  @exception IllegalArgumentException if dayOfWeek is not
  WEEKEND_ONSET or WEEKEND_CEASE
  @see #getDayOfWeekType
  @see #isWeekend(Date)
  @see #isWeekend()
  @deprecated ICU 54 use {@link #getWeekDataForRegion(String)}, {@link #getWeekData()}, {@link #setWeekData(WeekData)}
  @hide original deprecated declaration