jdk/src/share/classes/javax/swing/SpinnerDateModel.java
changeset 23697 e556a715949f
parent 23010 6dadb192ad81
child 25568 b906a74c6882
equal deleted inserted replaced
23696:7deff68428ef 23697:e556a715949f
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2014, 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
    84  * @see Calendar#add
    84  * @see Calendar#add
    85  *
    85  *
    86  * @author Hans Muller
    86  * @author Hans Muller
    87  * @since 1.4
    87  * @since 1.4
    88  */
    88  */
       
    89 @SuppressWarnings("serial") // Superclass is not serializable across versions
    89 public class SpinnerDateModel extends AbstractSpinnerModel implements Serializable
    90 public class SpinnerDateModel extends AbstractSpinnerModel implements Serializable
    90 {
    91 {
    91     private Comparable start, end;
    92     private Comparable start, end;
    92     private Calendar value;
    93     private Calendar value;
    93     private int calendarField;
    94     private int calendarField;