@tsdotnet/date-time 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
- /*!
2
- * @author electricessence / https://github.com/electricessence/
3
- * @license MIT
4
- */
5
- import Gregorian from './Calendars/Gregorian';
6
- import JsDateConvertible from './JsDateConvertible';
7
- import TimeStampValue from './TimeStampValue';
8
- /**
9
- * An alternative to Date or DateTime. Is a model representing the exact date and time.
10
- */
11
- export declare class TimeStamp implements Required<TimeStampValue>, JsDateConvertible {
12
- readonly year: number;
13
- readonly month: Gregorian.Month;
14
- readonly day: number;
15
- readonly hour: number;
16
- readonly minute: number;
17
- readonly second: number;
18
- readonly millisecond: number;
19
- readonly tick: number;
20
- constructor(year: number, month: Gregorian.Month, day?: number, hour?: number, minute?: number, second?: number, millisecond?: number, tick?: number);
21
- static from(d: Date | JsDateConvertible): TimeStamp;
22
- static now(): TimeStamp;
23
- toJsDate(): Date;
24
- }
25
- export default TimeStamp;
1
+ /*!
2
+ * @author electricessence / https://github.com/electricessence/
3
+ * @license MIT
4
+ */
5
+ import Gregorian from './Calendars/Gregorian';
6
+ import JsDateConvertible from './JsDateConvertible';
7
+ import TimeStampValue from './TimeStampValue';
8
+ /**
9
+ * An alternative to Date or DateTime. Is a model representing the exact date and time.
10
+ */
11
+ export declare class TimeStamp implements Required<TimeStampValue>, JsDateConvertible {
12
+ readonly year: number;
13
+ readonly month: Gregorian.Month;
14
+ readonly day: number;
15
+ readonly hour: number;
16
+ readonly minute: number;
17
+ readonly second: number;
18
+ readonly millisecond: number;
19
+ readonly tick: number;
20
+ constructor(year: number, month: Gregorian.Month, day?: number, hour?: number, minute?: number, second?: number, millisecond?: number, tick?: number);
21
+ static from(d: Date | JsDateConvertible): TimeStamp;
22
+ static now(): TimeStamp;
23
+ toJsDate(): Date;
24
+ }
25
+ export default TimeStamp;
package/dist/TimeStamp.js CHANGED
@@ -1,46 +1,46 @@
1
- "use strict";
2
- /*!
3
- * @author electricessence / https://github.com/electricessence/
4
- * @license MIT
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.TimeStamp = void 0;
8
- const tslib_1 = require("tslib");
9
- const type_1 = (0, tslib_1.__importDefault)(require("@tsdotnet/type"));
10
- /**
11
- * An alternative to Date or DateTime. Is a model representing the exact date and time.
12
- */
13
- class TimeStamp {
14
- constructor(year, month, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, tick = 0) {
15
- // Add validation or properly carry out of range values?
16
- this.year = year;
17
- this.month = month;
18
- this.day = day;
19
- this.hour = hour;
20
- this.minute = minute;
21
- this.second = second;
22
- this.millisecond = millisecond;
23
- this.tick = tick;
24
- Object.freeze(this);
25
- }
26
- static from(d) {
27
- if (!(d instanceof Date) && type_1.default.hasMember(d, 'toJsDate'))
28
- d = d.toJsDate();
29
- if (d instanceof Date) {
30
- return new TimeStamp(d.getFullYear(), d.getMonth(), d.getDate(), d.getHours(), d.getMinutes(), d.getSeconds(), d.getMilliseconds());
31
- }
32
- else {
33
- throw Error('Invalid date type.');
34
- }
35
- }
36
- static now() {
37
- return TimeStamp.from(new Date());
38
- }
39
- toJsDate() {
40
- const _ = this;
41
- return new Date(_.year, _.month, _.day, _.hour, _.minute, _.second, _.millisecond + _.tick / 10000 /* millisecond */);
42
- }
43
- }
44
- exports.TimeStamp = TimeStamp;
45
- exports.default = TimeStamp;
1
+ "use strict";
2
+ /*!
3
+ * @author electricessence / https://github.com/electricessence/
4
+ * @license MIT
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.TimeStamp = void 0;
8
+ const tslib_1 = require("tslib");
9
+ const type_1 = (0, tslib_1.__importDefault)(require("@tsdotnet/type"));
10
+ /**
11
+ * An alternative to Date or DateTime. Is a model representing the exact date and time.
12
+ */
13
+ class TimeStamp {
14
+ constructor(year, month, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, tick = 0) {
15
+ // Add validation or properly carry out of range values?
16
+ this.year = year;
17
+ this.month = month;
18
+ this.day = day;
19
+ this.hour = hour;
20
+ this.minute = minute;
21
+ this.second = second;
22
+ this.millisecond = millisecond;
23
+ this.tick = tick;
24
+ Object.freeze(this);
25
+ }
26
+ static from(d) {
27
+ if (!(d instanceof Date) && type_1.default.hasMember(d, 'toJsDate'))
28
+ d = d.toJsDate();
29
+ if (d instanceof Date) {
30
+ return new TimeStamp(d.getFullYear(), d.getMonth(), d.getDate(), d.getHours(), d.getMinutes(), d.getSeconds(), d.getMilliseconds());
31
+ }
32
+ else {
33
+ throw Error('Invalid date type.');
34
+ }
35
+ }
36
+ static now() {
37
+ return TimeStamp.from(new Date());
38
+ }
39
+ toJsDate() {
40
+ const _ = this;
41
+ return new Date(_.year, _.month, _.day, _.hour, _.minute, _.second, _.millisecond + _.tick / 10000 /* millisecond */);
42
+ }
43
+ }
44
+ exports.TimeStamp = TimeStamp;
45
+ exports.default = TimeStamp;
46
46
  //# sourceMappingURL=TimeStamp.js.map
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * @author electricessence / https://github.com/electricessence/
3
+ * @license MIT
4
+ */
5
+
6
+ import CalendarDate from './CalendarDate';
7
+ import ClockTimeValue from './ClockTimeValue';
8
+
9
+ export default interface TimeStampValue
10
+ extends CalendarDate, Partial<ClockTimeValue>
11
+ {
12
+
13
+ }
@@ -1,47 +1,47 @@
1
- /*!
2
- * @author electricessence / https://github.com/electricessence/
3
- * Originally based upon .NET source but with many additions and improvements.
4
- * @license MIT
5
- */
6
- import TimeQuantity from './TimeQuantity';
7
- export declare namespace TimeUnit {
8
- /**
9
- * A distinct unit of time measurement.
10
- */
11
- enum UnitType {
12
- Ticks = 0,
13
- Milliseconds = 1,
14
- Seconds = 2,
15
- Minutes = 3,
16
- Hours = 4,
17
- Days = 5
18
- }
19
- /**
20
- * Converts any TimeUnit value to it's respective millisecond quantity.
21
- * @param {number} value
22
- * @param {UnitType} units
23
- * @return {number} Number of milliseconds representing the specified units.
24
- */
25
- function toMilliseconds(value: number, units: UnitType): number;
26
- /**
27
- * Converts milliseconds to the specified TimeUnit quantity.
28
- * @param {number} ms
29
- * @param {UnitType} units
30
- * @return {number}
31
- */
32
- function fromMilliseconds(ms: number, units: UnitType): number;
33
- /**
34
- * Converts a TimeQuantity to the the TimeUnit requested..
35
- * @param {TimeQuantity} quantity
36
- * @param {UnitType} toUnits
37
- * @return {number}
38
- */
39
- function from(quantity: TimeQuantity, toUnits: UnitType): number;
40
- /**
41
- * Asserts if the time unit value is valid.
42
- * @param {UnitType} unit
43
- * @return {true}
44
- */
45
- function assertValid(unit: UnitType): true | never;
46
- }
47
- export default TimeUnit;
1
+ /*!
2
+ * @author electricessence / https://github.com/electricessence/
3
+ * Originally based upon .NET source but with many additions and improvements.
4
+ * @license MIT
5
+ */
6
+ import TimeQuantity from './TimeQuantity';
7
+ export declare namespace TimeUnit {
8
+ /**
9
+ * A distinct unit of time measurement.
10
+ */
11
+ enum UnitType {
12
+ Ticks = 0,
13
+ Milliseconds = 1,
14
+ Seconds = 2,
15
+ Minutes = 3,
16
+ Hours = 4,
17
+ Days = 5
18
+ }
19
+ /**
20
+ * Converts any TimeUnit value to it's respective millisecond quantity.
21
+ * @param {number} value
22
+ * @param {UnitType} units
23
+ * @return {number} Number of milliseconds representing the specified units.
24
+ */
25
+ function toMilliseconds(value: number, units: UnitType): number;
26
+ /**
27
+ * Converts milliseconds to the specified TimeUnit quantity.
28
+ * @param {number} ms
29
+ * @param {UnitType} units
30
+ * @return {number}
31
+ */
32
+ function fromMilliseconds(ms: number, units: UnitType): number;
33
+ /**
34
+ * Converts a TimeQuantity to the the TimeUnit requested..
35
+ * @param {TimeQuantity} quantity
36
+ * @param {UnitType} toUnits
37
+ * @return {number}
38
+ */
39
+ function from(quantity: TimeQuantity, toUnits: UnitType): number;
40
+ /**
41
+ * Asserts if the time unit value is valid.
42
+ * @param {UnitType} unit
43
+ * @return {true}
44
+ */
45
+ function assertValid(unit: UnitType): true | never;
46
+ }
47
+ export default TimeUnit;
package/dist/TimeUnit.js CHANGED
@@ -1,100 +1,100 @@
1
- "use strict";
2
- /*!
3
- * @author electricessence / https://github.com/electricessence/
4
- * Originally based upon .NET source but with many additions and improvements.
5
- * @license MIT
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.TimeUnit = void 0;
9
- /* eslint-disable no-fallthrough */
10
- var TimeUnit;
11
- (function (TimeUnit) {
12
- /**
13
- * A distinct unit of time measurement.
14
- */
15
- let UnitType;
16
- (function (UnitType) {
17
- UnitType[UnitType["Ticks"] = 0] = "Ticks";
18
- UnitType[UnitType["Milliseconds"] = 1] = "Milliseconds";
19
- UnitType[UnitType["Seconds"] = 2] = "Seconds";
20
- UnitType[UnitType["Minutes"] = 3] = "Minutes";
21
- UnitType[UnitType["Hours"] = 4] = "Hours";
22
- UnitType[UnitType["Days"] = 5] = "Days";
23
- })(UnitType = TimeUnit.UnitType || (TimeUnit.UnitType = {})); // Earth Days
24
- /**
25
- * Converts any TimeUnit value to it's respective millisecond quantity.
26
- * @param {number} value
27
- * @param {UnitType} units
28
- * @return {number} Number of milliseconds representing the specified units.
29
- */
30
- function toMilliseconds(value, units) {
31
- // noinspection FallThroughInSwitchStatementJS
32
- switch (units) {
33
- case UnitType.Days:
34
- value *= 24 /* day */;
35
- case UnitType.Hours:
36
- value *= 60 /* hour */;
37
- case UnitType.Minutes:
38
- value *= 60 /* minute */;
39
- case UnitType.Seconds:
40
- value *= 1000 /* second */;
41
- case UnitType.Milliseconds:
42
- return value;
43
- case UnitType.Ticks:
44
- return value / 10000 /* millisecond */;
45
- default:
46
- throw new Error('Invalid TimeUnit.');
47
- }
48
- }
49
- TimeUnit.toMilliseconds = toMilliseconds;
50
- /**
51
- * Converts milliseconds to the specified TimeUnit quantity.
52
- * @param {number} ms
53
- * @param {UnitType} units
54
- * @return {number}
55
- */
56
- function fromMilliseconds(ms, units) {
57
- switch (units) {
58
- case UnitType.Days:
59
- return ms / 86400000 /* day */;
60
- case UnitType.Hours:
61
- return ms / 3600000 /* hour */;
62
- case UnitType.Minutes:
63
- return ms / 60000 /* minute */;
64
- case UnitType.Seconds:
65
- return ms / 1000 /* second */;
66
- case UnitType.Milliseconds:
67
- return ms;
68
- case UnitType.Ticks:
69
- return ms * 10000 /* millisecond */;
70
- default:
71
- throw new Error('Invalid TimeUnit.');
72
- }
73
- }
74
- TimeUnit.fromMilliseconds = fromMilliseconds;
75
- /**
76
- * Converts a TimeQuantity to the the TimeUnit requested..
77
- * @param {TimeQuantity} quantity
78
- * @param {UnitType} toUnits
79
- * @return {number}
80
- */
81
- function from(quantity, toUnits) {
82
- return quantity && fromMilliseconds(quantity.getTotalMilliseconds(), toUnits);
83
- }
84
- TimeUnit.from = from;
85
- /**
86
- * Asserts if the time unit value is valid.
87
- * @param {UnitType} unit
88
- * @return {true}
89
- */
90
- function assertValid(unit) {
91
- if (isNaN(unit) || unit > UnitType.Days || unit < UnitType.Ticks || Math.floor(unit) !== unit)
92
- throw new Error('Invalid TimeUnit.');
93
- return true;
94
- }
95
- TimeUnit.assertValid = assertValid;
96
- })(TimeUnit = exports.TimeUnit || (exports.TimeUnit = {}));
97
- Object.freeze(TimeUnit.UnitType);
98
- Object.freeze(TimeUnit);
99
- exports.default = TimeUnit;
1
+ "use strict";
2
+ /*!
3
+ * @author electricessence / https://github.com/electricessence/
4
+ * Originally based upon .NET source but with many additions and improvements.
5
+ * @license MIT
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.TimeUnit = void 0;
9
+ /* eslint-disable no-fallthrough */
10
+ var TimeUnit;
11
+ (function (TimeUnit) {
12
+ /**
13
+ * A distinct unit of time measurement.
14
+ */
15
+ let UnitType;
16
+ (function (UnitType) {
17
+ UnitType[UnitType["Ticks"] = 0] = "Ticks";
18
+ UnitType[UnitType["Milliseconds"] = 1] = "Milliseconds";
19
+ UnitType[UnitType["Seconds"] = 2] = "Seconds";
20
+ UnitType[UnitType["Minutes"] = 3] = "Minutes";
21
+ UnitType[UnitType["Hours"] = 4] = "Hours";
22
+ UnitType[UnitType["Days"] = 5] = "Days";
23
+ })(UnitType = TimeUnit.UnitType || (TimeUnit.UnitType = {})); // Earth Days
24
+ /**
25
+ * Converts any TimeUnit value to it's respective millisecond quantity.
26
+ * @param {number} value
27
+ * @param {UnitType} units
28
+ * @return {number} Number of milliseconds representing the specified units.
29
+ */
30
+ function toMilliseconds(value, units) {
31
+ // noinspection FallThroughInSwitchStatementJS
32
+ switch (units) {
33
+ case UnitType.Days:
34
+ value *= 24 /* day */;
35
+ case UnitType.Hours:
36
+ value *= 60 /* hour */;
37
+ case UnitType.Minutes:
38
+ value *= 60 /* minute */;
39
+ case UnitType.Seconds:
40
+ value *= 1000 /* second */;
41
+ case UnitType.Milliseconds:
42
+ return value;
43
+ case UnitType.Ticks:
44
+ return value / 10000 /* millisecond */;
45
+ default:
46
+ throw new Error('Invalid TimeUnit.');
47
+ }
48
+ }
49
+ TimeUnit.toMilliseconds = toMilliseconds;
50
+ /**
51
+ * Converts milliseconds to the specified TimeUnit quantity.
52
+ * @param {number} ms
53
+ * @param {UnitType} units
54
+ * @return {number}
55
+ */
56
+ function fromMilliseconds(ms, units) {
57
+ switch (units) {
58
+ case UnitType.Days:
59
+ return ms / 86400000 /* day */;
60
+ case UnitType.Hours:
61
+ return ms / 3600000 /* hour */;
62
+ case UnitType.Minutes:
63
+ return ms / 60000 /* minute */;
64
+ case UnitType.Seconds:
65
+ return ms / 1000 /* second */;
66
+ case UnitType.Milliseconds:
67
+ return ms;
68
+ case UnitType.Ticks:
69
+ return ms * 10000 /* millisecond */;
70
+ default:
71
+ throw new Error('Invalid TimeUnit.');
72
+ }
73
+ }
74
+ TimeUnit.fromMilliseconds = fromMilliseconds;
75
+ /**
76
+ * Converts a TimeQuantity to the the TimeUnit requested..
77
+ * @param {TimeQuantity} quantity
78
+ * @param {UnitType} toUnits
79
+ * @return {number}
80
+ */
81
+ function from(quantity, toUnits) {
82
+ return quantity && fromMilliseconds(quantity.getTotalMilliseconds(), toUnits);
83
+ }
84
+ TimeUnit.from = from;
85
+ /**
86
+ * Asserts if the time unit value is valid.
87
+ * @param {UnitType} unit
88
+ * @return {true}
89
+ */
90
+ function assertValid(unit) {
91
+ if (isNaN(unit) || unit > UnitType.Days || unit < UnitType.Ticks || Math.floor(unit) !== unit)
92
+ throw new Error('Invalid TimeUnit.');
93
+ return true;
94
+ }
95
+ TimeUnit.assertValid = assertValid;
96
+ })(TimeUnit = exports.TimeUnit || (exports.TimeUnit = {}));
97
+ Object.freeze(TimeUnit.UnitType);
98
+ Object.freeze(TimeUnit);
99
+ exports.default = TimeUnit;
100
100
  //# sourceMappingURL=TimeUnit.js.map
@@ -1,19 +1,19 @@
1
- /*!
2
- * @author electricessence / https://github.com/electricessence/
3
- * @license MIT
4
- */
5
- import TimeQuantity from './TimeQuantity';
6
- import TimeUnit from './TimeUnit';
7
- /**
8
- * TimeUnitValue allows for passing around a reference to a mutable measure of time coerced by its unit type.
9
- */
10
- export default class TimeUnitValue extends TimeQuantity {
11
- private _units;
12
- constructor(value: number | TimeQuantity, _units: TimeUnit.UnitType);
13
- get value(): number;
14
- set value(v: number);
15
- get units(): TimeUnit.UnitType;
16
- static from(value: number | TimeQuantity, units?: TimeUnit.UnitType): TimeUnitValue;
17
- getTotalMilliseconds(): number;
18
- to(units?: TimeUnit.UnitType): TimeUnitValue;
19
- }
1
+ /*!
2
+ * @author electricessence / https://github.com/electricessence/
3
+ * @license MIT
4
+ */
5
+ import TimeQuantity from './TimeQuantity';
6
+ import TimeUnit from './TimeUnit';
7
+ /**
8
+ * TimeUnitValue allows for passing around a reference to a mutable measure of time coerced by its unit type.
9
+ */
10
+ export default class TimeUnitValue extends TimeQuantity {
11
+ private _units;
12
+ constructor(value: number | TimeQuantity, _units: TimeUnit.UnitType);
13
+ get value(): number;
14
+ set value(v: number);
15
+ get units(): TimeUnit.UnitType;
16
+ static from(value: number | TimeQuantity, units?: TimeUnit.UnitType): TimeUnitValue;
17
+ getTotalMilliseconds(): number;
18
+ to(units?: TimeUnit.UnitType): TimeUnitValue;
19
+ }
@@ -1,47 +1,47 @@
1
- "use strict";
2
- /*!
3
- * @author electricessence / https://github.com/electricessence/
4
- * @license MIT
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const tslib_1 = require("tslib");
8
- const TimeQuantity_1 = (0, tslib_1.__importDefault)(require("./TimeQuantity"));
9
- const TimeUnit_1 = (0, tslib_1.__importDefault)(require("./TimeUnit"));
10
- /**
11
- * TimeUnitValue allows for passing around a reference to a mutable measure of time coerced by its unit type.
12
- */
13
- class TimeUnitValue extends TimeQuantity_1.default {
14
- constructor(value, _units) {
15
- super(typeof value == 'number'
16
- ? value
17
- : getUnitQuantityFrom(value, _units));
18
- this._units = _units;
19
- TimeUnit_1.default.assertValid(_units);
20
- }
21
- get value() {
22
- return this._quantity;
23
- }
24
- set value(v) {
25
- this._quantity = v;
26
- if (!this._total.tryReset())
27
- throw new Error('Unable to update underlying value.');
28
- }
29
- // To avoid confusion, the unit type can only be set once at construction.
30
- get units() {
31
- return this._units;
32
- }
33
- static from(value, units = TimeUnit_1.default.UnitType.Milliseconds) {
34
- return new TimeUnitValue(value, units);
35
- }
36
- getTotalMilliseconds() {
37
- return TimeUnit_1.default.toMilliseconds(this._quantity, this._units);
38
- }
39
- to(units = this.units) {
40
- return TimeUnitValue.from(this, units);
41
- }
42
- }
43
- exports.default = TimeUnitValue;
44
- function getUnitQuantityFrom(q, units) {
45
- return TimeUnit_1.default.fromMilliseconds(q.getTotalMilliseconds(), units);
46
- }
1
+ "use strict";
2
+ /*!
3
+ * @author electricessence / https://github.com/electricessence/
4
+ * @license MIT
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const tslib_1 = require("tslib");
8
+ const TimeQuantity_1 = (0, tslib_1.__importDefault)(require("./TimeQuantity"));
9
+ const TimeUnit_1 = (0, tslib_1.__importDefault)(require("./TimeUnit"));
10
+ /**
11
+ * TimeUnitValue allows for passing around a reference to a mutable measure of time coerced by its unit type.
12
+ */
13
+ class TimeUnitValue extends TimeQuantity_1.default {
14
+ constructor(value, _units) {
15
+ super(typeof value == 'number'
16
+ ? value
17
+ : getUnitQuantityFrom(value, _units));
18
+ this._units = _units;
19
+ TimeUnit_1.default.assertValid(_units);
20
+ }
21
+ get value() {
22
+ return this._quantity;
23
+ }
24
+ set value(v) {
25
+ this._quantity = v;
26
+ if (!this._total.tryReset())
27
+ throw new Error('Unable to update underlying value.');
28
+ }
29
+ // To avoid confusion, the unit type can only be set once at construction.
30
+ get units() {
31
+ return this._units;
32
+ }
33
+ static from(value, units = TimeUnit_1.default.UnitType.Milliseconds) {
34
+ return new TimeUnitValue(value, units);
35
+ }
36
+ getTotalMilliseconds() {
37
+ return TimeUnit_1.default.toMilliseconds(this._quantity, this._units);
38
+ }
39
+ to(units = this.units) {
40
+ return TimeUnitValue.from(this, units);
41
+ }
42
+ }
43
+ exports.default = TimeUnitValue;
44
+ function getUnitQuantityFrom(q, units) {
45
+ return TimeUnit_1.default.fromMilliseconds(q.getTotalMilliseconds(), units);
46
+ }
47
47
  //# sourceMappingURL=TimeUnitValue.js.map
@@ -1,20 +1,20 @@
1
- /*!
2
- * @author electricessence / https://github.com/electricessence/
3
- * @license MIT
4
- */
5
- import Gregorian from './Calendars/Gregorian';
6
- import CalendarDate from './CalendarDate';
7
- import ClockTime from './ClockTime';
8
- import ClockTimeValue from './ClockTimeValue';
9
- import DateTime from './DateTime';
10
- import DateTimeKind from './DateTimeKind';
11
- import * as howMany from './howMany';
12
- import TimeMeasurement from './TimeMeasurement';
13
- import TimeQuantity from './TimeQuantity';
14
- import TimeSpan from './TimeSpan';
15
- import TimeStamp from './TimeStamp';
16
- import TimeStampValue from './TimeStampValue';
17
- import TimeUnit from './TimeUnit';
18
- import TimeUnitValue from './TimeUnitValue';
19
- import JsDateConvertible from './JsDateConvertible';
20
- export { Gregorian, CalendarDate, ClockTime, ClockTimeValue, DateTime, DateTimeKind, howMany, TimeMeasurement, TimeQuantity, TimeSpan, TimeStamp, TimeStampValue, TimeUnit, TimeUnitValue, JsDateConvertible };
1
+ /*!
2
+ * @author electricessence / https://github.com/electricessence/
3
+ * @license MIT
4
+ */
5
+ import Gregorian from './Calendars/Gregorian';
6
+ import CalendarDate from './CalendarDate';
7
+ import ClockTime from './ClockTime';
8
+ import ClockTimeValue from './ClockTimeValue';
9
+ import DateTime from './DateTime';
10
+ import DateTimeKind from './DateTimeKind';
11
+ import * as howMany from './howMany';
12
+ import TimeMeasurement from './TimeMeasurement';
13
+ import TimeQuantity from './TimeQuantity';
14
+ import TimeSpan from './TimeSpan';
15
+ import TimeStamp from './TimeStamp';
16
+ import TimeStampValue from './TimeStampValue';
17
+ import TimeUnit from './TimeUnit';
18
+ import TimeUnitValue from './TimeUnitValue';
19
+ import JsDateConvertible from './JsDateConvertible';
20
+ export { Gregorian, CalendarDate, ClockTime, ClockTimeValue, DateTime, DateTimeKind, howMany, TimeMeasurement, TimeQuantity, TimeSpan, TimeStamp, TimeStampValue, TimeUnit, TimeUnitValue, JsDateConvertible };