ig.scheduler.ScheduleDaysOfWeekSettings
Dependencies
-
ig.scheduler.ScheduleDaysOfWeekSettings
Constructor- new $.ig.scheduler.ScheduleDaysOfWeekSettings( );
Creates a new instance.
-
defaultSettings
- .defaultSettings( );
- Return Type:
- ig.scheduler.ScheduleDaysOfWeekSettings
- Return Type Description:
- An instance to be used for providing ultimate default values.
Returns a instance with fully resolved values for each day of the week; Saturday and Sunday have IsWorkday set to false, and Monday - Friday have it set to true with working hours set to 9AM - 5PM.
-
friday
- .friday( );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Returns the ScheduleDayOfWeekSettings instance which determines the working hours for Friday.
-
friday
- .friday( value:ig.scheduler.ScheduleDayOfWeekSettings );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Sets the ScheduleDayOfWeekSettings instance which determines the working hours for Friday.
- value
- Type:ig.scheduler.ScheduleDayOfWeekSettings
-
monday
- .monday( );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Returns the ScheduleDayOfWeekSettings instance which determines the working hours for Monday.
-
monday
- .monday( value:ig.scheduler.ScheduleDayOfWeekSettings );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Sets the ScheduleDayOfWeekSettings instance which determines the working hours for Monday.
- value
- Type:ig.scheduler.ScheduleDayOfWeekSettings
-
reset
- .reset( );
Resets the settings object for each day of the week.
-
resumeNotifications
- .resumeNotifications( [notify:boolean] );
Resumes property change notifications after a call to the ScheduleDaysOfWeekSettings.suspendNotifications method.
- notify
- Type:boolean
- Optional
- Boolean value indicating whether a property change notification should be sent. Default value is true.
-
saturday
- .saturday( );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Returns the ScheduleDayOfWeekSettings instance which determines the working hours for Saturday.
-
saturday
- .saturday( value:ig.scheduler.ScheduleDayOfWeekSettings );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Sets the ScheduleDayOfWeekSettings instance which determines the working hours for Saturday.
- value
- Type:ig.scheduler.ScheduleDayOfWeekSettings
-
sunday
- .sunday( );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Returns the ScheduleDayOfWeekSettings instance which determines the working hours for Sunday.
-
sunday
- .sunday( value:ig.scheduler.ScheduleDayOfWeekSettings );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Sets the ScheduleDayOfWeekSettings instance which determines the working hours for Sunday.
- value
- Type:ig.scheduler.ScheduleDayOfWeekSettings
-
suspendNotifications
- .suspendNotifications( );
Suspends property change notifications for all settings objects in this collection.
Remarks
Because the DaysOfWeekSettings object can be bound to a single property, any time a change is made to a property of a settings object, the settings for all days of the week must be propagated to the bound data object. This can result in multiple assignments of the property.
Use this method to temporarily switch off notifications, so that after all changes are applied, the settings can be assigned to the bound data object in one atomic operation.
After all changes are applied, use the ScheduleDaysOfWeekSettings.resumeNotifications method to re-enable property change notifications, and propagate the changes made since the SuspendNotifications method was called to the bound data object.
-
thursday
- .thursday( );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Returns the ScheduleDayOfWeekSettings instance which determines the working hours for Thursday.
-
thursday
- .thursday( value:ig.scheduler.ScheduleDayOfWeekSettings );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Sets the ScheduleDayOfWeekSettings instance which determines the working hours for Thursday.
- value
- Type:ig.scheduler.ScheduleDayOfWeekSettings
-
tuesday
- .tuesday( );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Returns the ScheduleDayOfWeekSettings instance which determines the working hours for Tuesday.
-
tuesday
- .tuesday( value:ig.scheduler.ScheduleDayOfWeekSettings );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Sets the ScheduleDayOfWeekSettings instance which determines the working hours for Tuesday.
- value
- Type:ig.scheduler.ScheduleDayOfWeekSettings
-
wednesday
- .wednesday( );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Returns the ScheduleDayOfWeekSettings instance which determines the working hours for Wednesday.
-
wednesday
- .wednesday( value:ig.scheduler.ScheduleDayOfWeekSettings );
- Return Type:
- ig.scheduler.ScheduleDayOfWeekSettings
- Return Type Description:
- Returns a ScheduleDayOfWeekSettings.
Sets the ScheduleDayOfWeekSettings instance which determines the working hours for Wednesday.
- value
- Type:ig.scheduler.ScheduleDayOfWeekSettings