Package com.comphenix.protocol.utility
Class SnapshotVersion
java.lang.Object
com.comphenix.protocol.utility.SnapshotVersion
- All Implemented Interfaces:
Serializable,Comparable<SnapshotVersion>
Used to parse a snapshot version.
- See Also:
-
Constructor Details
-
SnapshotVersion
-
-
Method Details
-
getSnapshotWeekVersion
public int getSnapshotWeekVersion()Retrieve the snapshot version within a week, starting at zero.- Returns:
- The weekly version
-
getSnapshotDate
Retrieve the week this snapshot was released.- Returns:
- The week.
-
getSnapshotString
Retrieve the raw snapshot string (yy'w'ww[a-z]).- Returns:
- The snapshot string.
-
compareTo
- Specified by:
compareToin interfaceComparable<SnapshotVersion>
-
equals
-
hashCode
public int hashCode() -
toString
-