Skip to content

Commit 6827148

Browse files
dox script update
1 parent 45497df commit 6827148

File tree

3 files changed

+135
-135
lines changed

3 files changed

+135
-135
lines changed

dox.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/dash
22

33
haxe -xml build/doc.xml -cp src -cp test -main Test
4-
haxelib run dox -i build -o build/dox -ex '/cores\|cores\|TZAbr\|data\|Decoder\|IntervalUtils\|MonthUtils\|SnapUtils\|MacroUtils\|neDetect\|zoneUtils\|TimeUtils\|TimeUtils/i'
4+
haxelib run dox -i build -o build/dox -ex "/cores|cores|TZAbr|data|Decoder|IntervalUtils|MonthUtils|SnapUtils|MacroUtils|neDetect|zoneUtils|TimeUtils|TimeUtils/i"

src/datetime/DateTimeInterval.hx

Lines changed: 109 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -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

src/datetime/Timezone.hx

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -167,31 +167,31 @@ abstract Timezone (TimezoneData) from TimezoneData to TimezoneData {
167167
return this.name;
168168
}//function toString()
169169

170-
// /**
171-
// * Find appropriate period between time changes for specified `utc` time
172-
// *
173-
// */
174-
// public function getPeriodForUtc (utc:DateTime) : TZPeriod {
175-
// return null;
176-
// }//function getPeriodForUtc()
177-
178-
179-
// /**
180-
// * Find appropriate period between time changes for specified `local` local time
181-
// *
182-
// */
183-
// public function getPeriodForLocal (local:DateTime) : TZPeriod {
184-
// return null;
185-
// }//function getPeriodForLocal()
186-
187-
188-
// /**
189-
// * Build an array of all periods between time switches in this zone
190-
// *
191-
// */
192-
// public function getAllPeriods () : Array<TZPeriod> {
193-
// return null;
194-
// }//function getAllPeriods()
170+
/**
171+
* Find appropriate period between time changes for specified `utc` time
172+
*
173+
*/
174+
public function getPeriodForUtc (utc:DateTime) : TZPeriod {
175+
return null;
176+
}//function getPeriodForUtc()
177+
178+
179+
/**
180+
* Find appropriate period between time changes for specified `local` local time
181+
*
182+
*/
183+
public function getPeriodForLocal (local:DateTime) : TZPeriod {
184+
return null;
185+
}//function getPeriodForLocal()
186+
187+
188+
/**
189+
* Build an array of all periods between time switches in this zone
190+
*
191+
*/
192+
public function getAllPeriods () : Array<TZPeriod> {
193+
return null;
194+
}//function getAllPeriods()
195195

196196
}//class Timezone
197197

0 commit comments

Comments
 (0)