@@ -168,114 +168,114 @@ abstract DateTimeInterval (DateTimeIntervalCore) to DateTimeIntervalCore from Da
168168 @:op (A != B ) private inline function neq (dtic : DateTimeInterval ) return ! eq (dtic );
169169
170170
171- // / **
172- // * Get amount of full years in this interval.
173- // *
174- // */
175- // public function getYears () : Int {
176- // return 0;
177- // }//function getYears()
178-
179-
180- // / **
181- // * Get amount of full months in this interval (always less then 12)
182- // *
183- // */
184- // public function getMonths () : Int {
185- // return 0;
186- // }//function getMonths()
187-
188-
189- // / **
190- // * Get total amount of months in this interval.
191- // *
192- // * E.g. if interval contains 3 years and 5 months, then `interval.getTotalMonths()` returns 3 * 12 + 5 = 41
193- // *
194- // */
195- // public function getTotalMonths () : Int {
196- // return 0;
197- // }//function getTotalMonths()
198-
199-
200- // / **
201- // * Get amount of full days in this interval (always less then 31)
202- // *
203- // */
204- // public function getDays () : Int {
205- // return 0;
206- // }//function getDays()
207-
208-
209- // / **
210- // * Get total amount of days in this interval.
211- // *
212- // */
213- // public function getTotalDays () : Int {
214- // return 0;
215- // }//function getTotalDays()
216-
217-
218- // / **
219- // * Get amount of full hours in this interval (always less then 24)
220- // *
221- // */
222- // public function getHours () : Int {
223- // return 0;
224- // }//function getHours()
225-
226-
227- // / **
228- // * Get total amount of hours in this interval.
229- // *
230- // */
231- // public function getTotalHours () : Int {
232- // return 0;
233- // }//function getTotalHours()
234-
235-
236- // / **
237- // * Get amount of full minutes in this interval (always less then 60)
238- // *
239- // */
240- // public function getMinutes () : Int {
241- // return 0;
242- // }//function getMinutes()
243-
244-
245- // / **
246- // * Get total amount of minutes in this interval.
247- // *
248- // */
249- // public function getTotalMinutes () : Int {
250- // return 0;
251- // }//function getTotalMinutes()
252-
253-
254- // / **
255- // * Get amount of full seconds in this interval (always less then 60)
256- // *
257- // */
258- // public function getSeconds () : Int {
259- // return 0;
260- // }//function getSeconds()
261-
262-
263- // / **
264- // * Get total amount of seconds in this interval.
265- // *
266- // */
267- // public function getTotalSeconds () : Float {
268- // return 0;
269- // }//function getTotalSeconds()
270-
271-
272- // / **
273- // * Get total amount of weeks in this interval.
274- // *
275- // * Not calendar weeks, but each 7 days.
276- // */
277- // public function getTotalWeeks () : Int {
278- // return 0;
279- // }//function getTotalWeeks()
171+ /**
172+ * Get amount of full years in this interval.
173+ *
174+ */
175+ public function getYears () : Int {
176+ return 0 ;
177+ }// function getYears()
178+
179+
180+ /**
181+ * Get amount of full months in this interval (always less then 12)
182+ *
183+ */
184+ public function getMonths () : Int {
185+ return 0 ;
186+ }// function getMonths()
187+
188+
189+ /**
190+ * Get total amount of months in this interval.
191+ *
192+ * E.g. if interval contains 3 years and 5 months, then `interval.getTotalMonths()` returns 3 * 12 + 5 = 41
193+ *
194+ */
195+ public function getTotalMonths () : Int {
196+ return 0 ;
197+ }// function getTotalMonths()
198+
199+
200+ /**
201+ * Get amount of full days in this interval (always less then 31)
202+ *
203+ */
204+ public function getDays () : Int {
205+ return 0 ;
206+ }// function getDays()
207+
208+
209+ /**
210+ * Get total amount of days in this interval.
211+ *
212+ */
213+ public function getTotalDays () : Int {
214+ return 0 ;
215+ }// function getTotalDays()
216+
217+
218+ /**
219+ * Get amount of full hours in this interval (always less then 24)
220+ *
221+ */
222+ public function getHours () : Int {
223+ return 0 ;
224+ }// function getHours()
225+
226+
227+ /**
228+ * Get total amount of hours in this interval.
229+ *
230+ */
231+ public function getTotalHours () : Int {
232+ return 0 ;
233+ }// function getTotalHours()
234+
235+
236+ /**
237+ * Get amount of full minutes in this interval (always less then 60)
238+ *
239+ */
240+ public function getMinutes () : Int {
241+ return 0 ;
242+ }// function getMinutes()
243+
244+
245+ /**
246+ * Get total amount of minutes in this interval.
247+ *
248+ */
249+ public function getTotalMinutes () : Int {
250+ return 0 ;
251+ }// function getTotalMinutes()
252+
253+
254+ /**
255+ * Get amount of full seconds in this interval (always less then 60)
256+ *
257+ */
258+ public function getSeconds () : Int {
259+ return 0 ;
260+ }// function getSeconds()
261+
262+
263+ /**
264+ * Get total amount of seconds in this interval.
265+ *
266+ */
267+ public function getTotalSeconds () : Float {
268+ return 0 ;
269+ }// function getTotalSeconds()
270+
271+
272+ /**
273+ * Get total amount of weeks in this interval.
274+ *
275+ * Not calendar weeks, but each 7 days.
276+ */
277+ public function getTotalWeeks () : Int {
278+ return 0 ;
279+ }// function getTotalWeeks()
280280
281281}// class DateTimeInterval
0 commit comments