src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/datatype/DurationDayTimeImpl.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
|
2 * Copyright (c) 2009, 2017 Oracle and/or its affiliates. All rights reserved. |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * |
4 * |
4 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
5 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
19 * |
20 * |
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 * or visit www.oracle.com if you need additional information or have any |
22 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
23 * questions. |
23 */ |
|
24 |
|
25 /* |
|
26 * Copyright (c) 2009 by Oracle Corporation. All Rights Reserved. |
|
27 */ |
24 */ |
28 |
25 |
29 package com.sun.org.apache.xerces.internal.jaxp.datatype; |
26 package com.sun.org.apache.xerces.internal.jaxp.datatype; |
30 |
27 |
31 |
28 |
50 * @see XMLGregorianCalendar#add(Duration) |
47 * @see XMLGregorianCalendar#add(Duration) |
51 */ |
48 */ |
52 |
49 |
53 class DurationDayTimeImpl |
50 class DurationDayTimeImpl |
54 extends DurationImpl { |
51 extends DurationImpl { |
|
52 private static final long serialVersionUID = 844792794952655204L; |
55 |
53 |
56 public DurationDayTimeImpl( |
54 public DurationDayTimeImpl( |
57 boolean isPositive, |
55 boolean isPositive, |
58 BigInteger days, |
56 BigInteger days, |
59 BigInteger hours, |
57 BigInteger hours, |