public class DayOfWeek
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DayOfWeek.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
DayOfWeek() |
DayOfWeek(java.lang.Long day,
java.lang.Long offset) |
Modifier and Type | Method and Description |
---|---|
DayOfWeek.Builder |
asBuilder() |
static DayOfWeek.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getDay()
A number that represenents a day of the week.
|
java.lang.Long |
getOffset()
The offset into the month, in weeks.
|
int |
hashCode() |
void |
setDay(java.lang.Long day) |
void |
setOffset(java.lang.Long offset) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.Long getDay()
public void setDay(java.lang.Long day)
public java.lang.Long getOffset()
public void setOffset(java.lang.Long offset)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static DayOfWeek.Builder builder()
public final DayOfWeek.Builder asBuilder()