< prev index next >

src/java.base/share/classes/sun/util/calendar/ZoneInfo.java

Print this page

        

*** 362,372 **** * @param year The year in the given date. * @param month The month in the given date. Month is 0-based. e.g., * 0 for January. * @param day The day-in-month of the given date. * @param dayOfWeek The day-of-week of the given date. ! * @param millis The milliseconds in day in <em>standard</em> local time. * @return The milliseconds to add to UTC to get local time. */ public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { if (milliseconds < 0 || milliseconds >= AbstractCalendar.DAY_IN_MILLIS) { --- 362,372 ---- * @param year The year in the given date. * @param month The month in the given date. Month is 0-based. e.g., * 0 for January. * @param day The day-in-month of the given date. * @param dayOfWeek The day-of-week of the given date. ! * @param milliseconds The milliseconds in day in <em>standard</em> local time. * @return The milliseconds to add to UTC to get local time. */ public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { if (milliseconds < 0 || milliseconds >= AbstractCalendar.DAY_IN_MILLIS) {
< prev index next >