WorkWeek

Inheritance: java.lang.Object

public class WorkWeek

Represent WorkWeek class

Constructors

ConstructorDescription
WorkWeek()Initializes a new instance of the WorkWeek class.

Methods

MethodDescription
getFromDate()Gets start DateTime of work week
getName()Gets Name of work week
getToDate()Gets Finish DateTime of work week
getWeekDays()Gets week days.
setFromDate(Date value)Sets start DateTime of work week
setName(String value)Sets Name of work week
setToDate(Date value)Sets Finish DateTime of work week

WorkWeek()

public WorkWeek()

Initializes a new instance of the WorkWeek class.

getFromDate()

public final Date getFromDate()

Gets start DateTime of work week

Returns: java.util.Date - start DateTime of work week

getName()

public final String getName()

Gets Name of work week

Returns: java.lang.String - Name of work week

getToDate()

public final Date getToDate()

Gets Finish DateTime of work week

Returns: java.util.Date - Finish DateTime of work week

getWeekDays()

public final WeekDayCollection getWeekDays()

Gets week days.

Returns: WeekDayCollection - week days.

setFromDate(Date value)

public final void setFromDate(Date value)

Sets start DateTime of work week

Parameters:

ParameterTypeDescription
valuejava.util.Datestart DateTime of work week

setName(String value)

public final void setName(String value)

Sets Name of work week

Parameters:

ParameterTypeDescription
valuejava.lang.StringName of work week

setToDate(Date value)

public final void setToDate(Date value)

Sets Finish DateTime of work week

Parameters:

ParameterTypeDescription
valuejava.util.DateFinish DateTime of work week