Index

Classes


Class TimeRange

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
- Hour of the end of the range
 
- Hour of the beginning of the range
 
- Minute of the end of the range
 
- Minute of the beginning of the range
Method Summary
Method Attributes Method Name and Description
 
Return the total minutes number for the start of range
 
Return the total minutes number for the end of range
 
parseHourStr(start, end)
Initialise with start time and end time in format HHmm
 
parseTotalMinInt(start, end)
Initialise with start time and end time in total minutes since midnight
Class Detail
TimeRange()
Field Detail
{number} HourEnd
- Hour of the end of the range

{number} HourStart
- Hour of the beginning of the range

{number} MinuteEnd
- Minute of the end of the range

{number} MinuteStart
- Minute of the beginning of the range
Method Detail
{number} GetTotalMinuteBegin()
Return the total minutes number for the start of range
Returns:
{number} - the total minutes number for the start of range

{number} GetTotalMinuteEnd()
Return the total minutes number for the end of range
Returns:
{number} - the total minutes number for the end of range

parseHourStr(start, end)
Initialise with start time and end time in format HHmm
Parameters:
{string} start
- start time in format HHmm
{string} end
- end time in format HHmm

parseTotalMinInt(start, end)
Initialise with start time and end time in total minutes since midnight
Parameters:
{number} start
- start time
{number} end
- end time

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Nov 05 2014 12:49:33 GMT+0100 (CET)