11/*
2- * Copyright (c) 2012, 2025 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2012, 2019 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -137,11 +137,11 @@ public final class HijrahDate
137137 /**
138138 * The month-of-year.
139139 */
140- private final transient byte monthOfYear ;
140+ private final transient int monthOfYear ;
141141 /**
142142 * The day-of-month.
143143 */
144- private final transient byte dayOfMonth ;
144+ private final transient int dayOfMonth ;
145145
146146 //-------------------------------------------------------------------------
147147 /**
@@ -273,8 +273,8 @@ private HijrahDate(HijrahChronology chrono, int prolepticYear, int monthOfYear,
273273
274274 this .chrono = chrono ;
275275 this .prolepticYear = prolepticYear ;
276- this .monthOfYear = ( byte ) monthOfYear ;
277- this .dayOfMonth = ( byte ) dayOfMonth ;
276+ this .monthOfYear = monthOfYear ;
277+ this .dayOfMonth = dayOfMonth ;
278278 }
279279
280280 /**
@@ -287,8 +287,8 @@ private HijrahDate(HijrahChronology chrono, long epochDay) {
287287
288288 this .chrono = chrono ;
289289 this .prolepticYear = dateInfo [0 ];
290- this .monthOfYear = ( byte ) dateInfo [1 ];
291- this .dayOfMonth = ( byte ) dateInfo [2 ];
290+ this .monthOfYear = dateInfo [1 ];
291+ this .dayOfMonth = dateInfo [2 ];
292292 }
293293
294294 //-----------------------------------------------------------------------
0 commit comments