src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/datatype/DurationYearMonthImpl.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * 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 |
6 * 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 |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
46 * @see XMLGregorianCalendar#add(Duration) |
46 * @see XMLGregorianCalendar#add(Duration) |
47 */ |
47 */ |
48 |
48 |
49 class DurationYearMonthImpl |
49 class DurationYearMonthImpl |
50 extends DurationImpl { |
50 extends DurationImpl { |
51 |
51 private static final long serialVersionUID = -4430140662861507958L; |
52 |
52 |
53 /** |
53 /** |
54 * <p>Constructs a new Duration object by specifying each field individually.</p> |
54 * <p>Constructs a new Duration object by specifying each field individually.</p> |
55 * |
55 * |
56 * <p>All the parameters are optional as long as at least one field is present. |
56 * <p>All the parameters are optional as long as at least one field is present. |