public class SnapshotVersion extends Object implements Comparable<SnapshotVersion>, Serializable
| Constructor and Description |
|---|
SnapshotVersion(String version) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SnapshotVersion o) |
boolean |
equals(Object obj) |
Date |
getSnapshotDate()
Retrieve the week this snapshot was released.
|
String |
getSnapshotString()
Retrieve the raw snapshot string (yy'w'ww[a-z]).
|
int |
getSnapshotWeekVersion()
Retrieve the snapshot version within a week, starting at zero.
|
int |
hashCode() |
String |
toString() |
public SnapshotVersion(String version)
public int getSnapshotWeekVersion()
public Date getSnapshotDate()
public String getSnapshotString()
public int compareTo(SnapshotVersion o)
compareTo in interface Comparable<SnapshotVersion>Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.