public class Year extends Number implements Comparable<Year>
Constructor and Description |
---|
Year(int year) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
int |
compareTo(Year other) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
static Year |
fromString(String str) |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
String |
toString() |
byteValue, shortValue
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
public int compareTo(@Nonnull Year other)
compareTo
in interface Comparable<Year>
@Nonnull public static Year fromString(String str) throws NumberFormatException
NumberFormatException
protected boolean canEqual(Object other)
Copyright © 2020 SAP SE. All rights reserved.