public class SnapshotVersion extends java.lang.Object implements java.lang.Comparable<SnapshotVersion>, java.io.Serializable
Constructor and Description |
---|
SnapshotVersion(java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SnapshotVersion o) |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getSnapshotDate()
Retrieve the week this snapshot was released.
|
java.lang.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() |
java.lang.String |
toString() |
public int getSnapshotWeekVersion()
public java.util.Date getSnapshotDate()
public java.lang.String getSnapshotString()
public int compareTo(SnapshotVersion o)
compareTo
in interface java.lang.Comparable<SnapshotVersion>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object