ig.scheduler.WorkingHourTimeRange
Dependencies
-
ig.scheduler.WorkingHourTimeRange
Constructor- new $.ig.scheduler.WorkingHourTimeRange( );
Creates a new instance.
-
ig.scheduler.WorkingHourTimeRange
Constructor- new $.ig.scheduler.WorkingHourTimeRange( start:ig.Number, end:ig.Number );
Creates a new instance.
- start
- Type:ig.Number
- end
- Type:ig.Number
-
clone
Inherited- .clone( );
See Also
-
contains
Inherited- .contains( value:ig.Number, [isEndExclusive:boolean] );
Returns true if the specified TimeSpan lies completely within this range.
- value
- Type:ig.Number
- The TimeSpan to test.
- isEndExclusive
- Type:boolean
- Optional
- Determines whether to exclude the moment in time that coincides with the value of the TimeRange.end property. This parameter default to true.
-
end
Inherited- .end( );
Defines the exclusive end of the range. A value exactly equal to the value of this property is outside the range; a value less than the value of this property and greater than or equal to the value of the TimeRange.start property is within range.
-
end
Inherited- .end( value:ig.Number );
Defines the exclusive end of the range. A value exactly equal to the value of this property is outside the range; a value less than the value of this property and greater than or equal to the value of the TimeRange.start property is within range.
- value
- Type:ig.Number
-
equals
Inherited- .equals( obj:object );
- Return Type:
- boolean
- Return Type Description:
- True if the specified instance is equal to this instance otherwise, false.
Returns a value indicating whether this instance is equal to a specified object.
- obj
- Type:object
- An object to compare with this instance.
-
getHashCode
Inherited- .getHashCode( );
- Return Type:
- number
- Return Type Description:
- A hash code for this instance.
Returns a hash code for this instance.
-
intersectsWith
Inherited- .intersectsWith( value:ig.scheduler.TimeRange, [isEndExclusive:boolean] );
Returns true if the specified TimeRange intersects with this range.
- value
- Type:ig.scheduler.TimeRange
- The TimeRange to test.
- isEndExclusive
- Type:boolean
- Optional
- Determines whether to exclude the moment in time that coincides with the value of the TimeRange.end property. This parameter default to true.
See Also
-
start
Inherited- .start( );
Defines the beginning of the range.
-
start
Inherited- .start( value:ig.Number );
Defines the beginning of the range.
- value
- Type:ig.Number
-
toString
Inherited- .toString( );
Returns the string representation of this object.
-
validateEnd
- .validateEnd( value:ig.Number );
Throws an exception if this instance has been sealed.
- value
- Type:ig.Number
-
validateStart
- .validateStart( value:ig.Number );
Throws an exception if this instance has been sealed.
- value
- Type:ig.Number