/** * Sets the two-dimensional array of strings containing localized names for time zones. * See {@link #getZoneStrings} for details. * @throws IllegalArgumentException if any row has fewer than 5 elements. * @throws NullPointerException if {@code zoneStrings == null}. */ public void setZoneStrings(String[][] zoneStrings) { if (zoneStrings == null) { throw new NullPointerException("zoneStrings == null"); } for (String[] row : zoneStrings) { if (row.length < 5) { throw new IllegalArgumentException(Arrays.toString(row) + ".length < 5"); } } this.zoneStrings = clone2dStringArray(zoneStrings); this.customZoneStrings = true; } }
String[][] result = clone2dStringArray(internalZoneStrings());
/** * Sets the two-dimensional array of strings containing localized names for time zones. * See {@link #getZoneStrings} for details. * @throws IllegalArgumentException if any row has fewer than 5 elements. * @throws NullPointerException if {@code zoneStrings == null}. */ public void setZoneStrings(String[][] zoneStrings) { if (zoneStrings == null) { throw new NullPointerException("zoneStrings == null"); } for (String[] row : zoneStrings) { if (row.length < 5) { throw new IllegalArgumentException(Arrays.toString(row) + ".length < 5"); } } this.zoneStrings = clone2dStringArray(zoneStrings); this.customZoneStrings = true; } }
/** * Sets the two-dimensional array of strings containing localized names for time zones. * See {@link #getZoneStrings} for details. * @throws IllegalArgumentException if any row has fewer than 5 elements. * @throws NullPointerException if {@code zoneStrings == null}. */ public void setZoneStrings(String[][] zoneStrings) { if (zoneStrings == null) { throw new NullPointerException("zoneStrings == null"); } for (String[] row : zoneStrings) { if (row.length < 5) { throw new IllegalArgumentException(Arrays.toString(row) + ".length < 5"); } } this.zoneStrings = clone2dStringArray(zoneStrings); this.customZoneStrings = true; } }
/** * Sets the two-dimensional array of strings containing localized names for time zones. * See {@link #getZoneStrings} for details. * @throws IllegalArgumentException if any row has fewer than 5 elements. * @throws NullPointerException if {@code zoneStrings == null}. */ public void setZoneStrings(String[][] zoneStrings) { if (zoneStrings == null) { throw new NullPointerException("zoneStrings == null"); } for (String[] row : zoneStrings) { if (row.length < 5) { throw new IllegalArgumentException(Arrays.toString(row) + ".length < 5"); } } this.zoneStrings = clone2dStringArray(zoneStrings); this.customZoneStrings = true; } }
/** * Sets the two-dimensional array of strings containing localized names for time zones. * See {@link #getZoneStrings} for details. * @throws IllegalArgumentException if any row has fewer than 5 elements. * @throws NullPointerException if {@code zoneStrings == null}. */ public void setZoneStrings(String[][] zoneStrings) { if (zoneStrings == null) { throw new NullPointerException("zoneStrings == null"); } for (String[] row : zoneStrings) { if (row.length < 5) { throw new IllegalArgumentException(Arrays.toString(row) + ".length < 5"); } } this.zoneStrings = clone2dStringArray(zoneStrings); this.customZoneStrings = true; } }
/** * Sets the two-dimensional array of strings containing localized names for time zones. * See {@link #getZoneStrings} for details. * @throws IllegalArgumentException if any row has fewer than 5 elements. * @throws NullPointerException if {@code zoneStrings == null}. */ public void setZoneStrings(String[][] zoneStrings) { if (zoneStrings == null) { throw new NullPointerException("zoneStrings == null"); } for (String[] row : zoneStrings) { if (row.length < 5) { throw new IllegalArgumentException(Arrays.toString(row) + ".length < 5"); } } this.zoneStrings = clone2dStringArray(zoneStrings); this.customZoneStrings = true; } }
/** * Sets the two-dimensional array of strings containing localized names for time zones. * See {@link #getZoneStrings} for details. * @throws IllegalArgumentException if any row has fewer than 5 elements. * @throws NullPointerException if {@code zoneStrings == null}. */ public void setZoneStrings(String[][] zoneStrings) { if (zoneStrings == null) { throw new NullPointerException("zoneStrings == null"); } for (String[] row : zoneStrings) { if (row.length < 5) { throw new IllegalArgumentException(Arrays.toString(row) + ".length < 5"); } } this.zoneStrings = clone2dStringArray(zoneStrings); this.customZoneStrings = true; } }
String[][] result = clone2dStringArray(internalZoneStrings());
String[][] result = clone2dStringArray(internalZoneStrings());
String[][] result = clone2dStringArray(internalZoneStrings());
String[][] result = clone2dStringArray(internalZoneStrings());
String[][] result = clone2dStringArray(internalZoneStrings());
String[][] result = clone2dStringArray(internalZoneStrings());