1 /* 2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package sun.util.calendar; 27 28 @SuppressWarnings({"unchecked", "deprecation", "all"}) 29 public class CalendarUtils { 30 CalendarUtils()31 public CalendarUtils() { 32 throw new RuntimeException("Stub!"); 33 } 34 isGregorianLeapYear(int gregorianYear)35 public static final boolean isGregorianLeapYear(int gregorianYear) { 36 throw new RuntimeException("Stub!"); 37 } 38 isJulianLeapYear(int normalizedJulianYear)39 public static final boolean isJulianLeapYear(int normalizedJulianYear) { 40 throw new RuntimeException("Stub!"); 41 } 42 43 @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) floorDivide(long n, long d)44 public static final long floorDivide(long n, long d) { 45 throw new RuntimeException("Stub!"); 46 } 47 48 @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) floorDivide(int n, int d)49 public static final int floorDivide(int n, int d) { 50 throw new RuntimeException("Stub!"); 51 } 52 floorDivide(int n, int d, int[] r)53 public static final int floorDivide(int n, int d, int[] r) { 54 throw new RuntimeException("Stub!"); 55 } 56 floorDivide(long n, int d, int[] r)57 public static final int floorDivide(long n, int d, int[] r) { 58 throw new RuntimeException("Stub!"); 59 } 60 61 @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) mod(long x, long y)62 public static final long mod(long x, long y) { 63 throw new RuntimeException("Stub!"); 64 } 65 66 @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) mod(int x, int y)67 public static final int mod(int x, int y) { 68 throw new RuntimeException("Stub!"); 69 } 70 amod(int x, int y)71 public static final int amod(int x, int y) { 72 throw new RuntimeException("Stub!"); 73 } 74 amod(long x, long y)75 public static final long amod(long x, long y) { 76 throw new RuntimeException("Stub!"); 77 } 78 sprintf0d( java.lang.StringBuilder sb, int value, int width)79 public static final java.lang.StringBuilder sprintf0d( 80 java.lang.StringBuilder sb, int value, int width) { 81 throw new RuntimeException("Stub!"); 82 } 83 sprintf0d( java.lang.StringBuffer sb, int value, int width)84 public static final java.lang.StringBuffer sprintf0d( 85 java.lang.StringBuffer sb, int value, int width) { 86 throw new RuntimeException("Stub!"); 87 } 88 } 89