public class Timeslice
extends java.lang.Object
| Constructor | Description |
|---|---|
Timeslice() |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getAllokation() |
Gets the allokation of the timeslice.
|
java.util.Calendar |
getEnd() |
Gets the end.
|
java.lang.String |
getFreq() |
Gets the freq.
|
java.lang.String |
getSliceStart() |
Gets the slice start.
|
java.util.Calendar |
getStart() |
Gets the start.
|
int |
getUnitValue() |
Gets the unit value.
|
void |
setAllokation(double allokation) |
Sets the allokation of a timeslice.
|
void |
setEnd(java.util.Calendar end) |
Sets the end.
|
void |
setFreq(java.lang.String freq) |
Sets the freq.
|
void |
setFreq(org.dmfs.rfc5545.recur.Freq freq) |
Sets the freq.
|
void |
setSliceStart(java.lang.String sliceStart) |
Sets the slice start as string-representation of the slice.
|
void |
setStart(java.util.Calendar start) |
Sets the start.
|
void |
setUnitValue(int unitValue) |
Sets the unit value.
|
java.lang.String |
toString() |
public int getUnitValue()
public void setUnitValue(int unitValue)
unitValue - the new unit valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getFreq()
public void setFreq(java.lang.String freq)
freq - the new freqpublic void setFreq(org.dmfs.rfc5545.recur.Freq freq)
freq - the new freqpublic java.util.Calendar getStart()
public void setStart(java.util.Calendar start)
start - the new startpublic java.util.Calendar getEnd()
public void setEnd(java.util.Calendar end)
end - the new endpublic java.lang.String getSliceStart()
public void setSliceStart(java.lang.String sliceStart)
sliceStart - the new slice startpublic double getAllokation()
public void setAllokation(double allokation)
allokation - the new allokation