public class ProjectSettings extends Object
| Constructor and Description |
|---|
ProjectSettings() |
| Modifier and Type | Method and Description |
|---|---|
Float |
getLengthOfDay()
Get length of workday for a project sheet, in hours.
|
List<String> |
getNonWorkingDays()
Get non-working days of a week for a project sheet.
|
List<DayOfWeek> |
getWorkingDays()
Get working days of a week for a project sheet.
|
ProjectSettings |
setLengthOfDay(Float lengthOfDay)
Set length of a workday for a project sheet in hours.
|
ProjectSettings |
setNonWorkingDays(List<String> nonWorkingDays)
Set the non-working days of a week for a project sheet.
|
ProjectSettings |
setWorkingDays(List<DayOfWeek> workingDays)
Set the working days of a week for a project sheet.
|
public List<DayOfWeek> getWorkingDays()
public ProjectSettings setWorkingDays(List<DayOfWeek> workingDays)
workingDays - the list of DayOfWeeks to setpublic List<String> getNonWorkingDays()
public ProjectSettings setNonWorkingDays(List<String> nonWorkingDays)
nonWorkingDays - the list of days to set. Must be an array of strings that are valid ISO-8601 dates ('YYYY-MM-DD’)public Float getLengthOfDay()
public ProjectSettings setLengthOfDay(Float lengthOfDay)
lengthOfDay - Copyright © 2014–2017 Smartsheet. All rights reserved.