1 /*global $k*/
  2 
  3 /**
  4  * Constructs a Time from the argument(s), which can be a Date object, undefined, or component values.
  5  * If undefined, the current time is returned
  6  *
  7  * @param [hours] Date or hours
  8  * @param [minutes] Minutes
  9  * @param [seconds] Seconds
 10  *
 11  * @class Represents a time without timezone
 12 **/
 13 $k.Time = function(varargs) { };
 14 
 15 /**
 16  * Returns true if the values are equal
 17  *
 18  * @function
 19  * @returns {boolean}
 20 **/
 21 $k.Time.prototype.equals = function(value) { };
 22 
 23 /**
 24  * Returns the hours
 25  *
 26  * @function
 27  * @returns {number}
 28 **/
 29 $k.Time.prototype.getHours = function() { };
 30 
 31 /**
 32  * Returns the minutes
 33  *
 34  * @function
 35  * @returns {number}
 36 **/
 37 $k.Time.prototype.getMinutes = function() { };
 38 
 39 /**
 40  * Returns the seconds
 41  *
 42  * @function
 43  * @returns {number}
 44 **/
 45 $k.Time.prototype.getSeconds = function() { };
 46 
 47 /**
 48  * Returns the latest exact Javascript date that is within the range of this date/time, e.g. 2007-03-01T23:59:59.999 for the date 2007-03-01.
 49  * Assumes that this is date/time of the local timezone
 50  *
 51  * @function
 52  * @returns {$k.Date}
 53 **/
 54 $k.Time.prototype.maxDate = function() { };
 55 
 56 /**
 57  * Returns the latest exact Javascript date that is within the range of this date/time, e.g. 2007-03-01T23:59:59.999 for the date 2007-03-01.
 58  * Assumes that this is date/time of the local timezone
 59  *
 60  * @function
 61  * @returns {$k.Date}
 62 **/
 63 $k.Time.prototype.maxUTCDate = function() { };
 64 
 65 /**
 66  * Returns the earliest exact Javascript date that is within the range of this date/time, e.g. 2007-03-01T0:00:00.0 for the date 2007-03-01.
 67  * Assumes that this is date/time of the local timezone
 68  *
 69  * @function
 70  * @returns {$k.Date}
 71 **/
 72 $k.Time.prototype.minDate = function() { };
 73 
 74 /**
 75  * Returns the earliest exact Javascript date that is within the range of this date/time, e.g. 2007-03-01T0:00:00.0 for the date 2007-03-01.
 76  * Assumes that this is an UTC date/time
 77  *
 78  * @function
 79  * @returns {$k.Date}
 80 **/
 81 $k.Time.prototype.minUTCDate = function() { };
 82 
 83 /**
 84  * Sets the hours
 85  *
 86  * @function
 87  * @param {number} hours
 88 **/
 89 $k.Time.prototype.setHours = function(hours) { };
 90 
 91 /**
 92  * Sets the minutes.
 93  *
 94  * @function
 95  * @param {number} minutes
 96 **/
 97 $k.Time.prototype.setMinutes = function(minutes) { };
 98 
 99 /**
100  * Sets the seconds.
101  *
102  * @function
103  * @param {number} seconds
104 **/
105 $k.Time.prototype.setSeconds = function(seconds) { };
106 
107 /**
108  * Returns the date/time as a Javascript date object.
109  * Assumes that this is date/time of the local timezone
110  *
111  * @function
112 **/
113 $k.Time.prototype.toDate = function() { };
114 
115 /**
116  * Returns a string representing the date/time, similar to Date.prototype.toJSON ( key )
117  *
118  * @function
119  * @see $k.Date#toJSON
120 **/
121 $k.Time.prototype.toJSON = function(key) { };
122 
123 /**
124  * Returns the string representation. Equivalent to valueString()
125  *
126  * @function
127  * @param {string} [language] Language of the value. If not defined, the current language will be used.
128  * Ignored if the attribute is not translated
129  * @returns {string}
130  * @throws {$k.exception.InvalidLanguage} If an invalid language was specified
131 **/
132 $k.Time.prototype.toString = function(language) { };
133 
134 /**
135  * Returns the date/time as a Javascript date object.
136  * Assumes that this is an UTC date/time
137  *
138  * @function
139 **/
140 $k.Time.prototype.toUTCDate = function() { };
141 
142 /**
143  * Returns the string representation
144  *
145  * @function
146  * @param {string} [language] Language of the value. If not defined, the current language will be used.
147  * Ignored if the attribute is not translated
148  * @returns {string}
149  * @throws {$k.exception.InvalidLanguage} If an invalid language was specified
150 **/
151 $k.Time.prototype.valueString = function(language) { };
152 
153 /**
154  * Parse the date/time string. Both ISO 8601 adnd localized strings are supported.
155  *
156  * @function
157  * @param {string} string The string representation
158  * @param {string} [language] Language of the value. If not defined, the current language will be used.
159  * Ignored if the attribute is not translated
160  * @returns The parsed date/time
161  * @throws {$k.exception.InvalidLanguage} If an invalid language was specified
162 **/
163 $k.Time.parse = function(string, language) { };
164 
165