@solibo/solibo-sdk 1.1.19 → 1.1.20
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.
|
@@ -361,7 +361,7 @@ function addFormatStructureForDate(structure) {
|
|
|
361
361
|
function addFormatStructureForTime(structure) {
|
|
362
362
|
this.e1u(structure);
|
|
363
363
|
}
|
|
364
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
364
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
|
|
365
365
|
initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
|
|
366
366
|
initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
|
|
367
367
|
function set_fractionOfSecond(value) {
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -42,17 +42,6 @@ if (typeof Math.log10 === 'undefined') {
|
|
|
42
42
|
return Math.log(x) * Math.LOG10E;
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
if (typeof Math.clz32 === 'undefined') {
|
|
46
|
-
Math.clz32 = function (log, LN2) {
|
|
47
|
-
return function (x) {
|
|
48
|
-
var asUint = x >>> 0;
|
|
49
|
-
if (asUint === 0) {
|
|
50
|
-
return 32;
|
|
51
|
-
}
|
|
52
|
-
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
53
|
-
};
|
|
54
|
-
}(Math.log, Math.LN2);
|
|
55
|
-
}
|
|
56
45
|
if (typeof Math.trunc === 'undefined') {
|
|
57
46
|
Math.trunc = function (x) {
|
|
58
47
|
if (isNaN(x)) {
|
|
@@ -64,11 +53,16 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
64
53
|
return Math.ceil(x);
|
|
65
54
|
};
|
|
66
55
|
}
|
|
67
|
-
if (typeof
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
56
|
+
if (typeof Math.clz32 === 'undefined') {
|
|
57
|
+
Math.clz32 = function (log, LN2) {
|
|
58
|
+
return function (x) {
|
|
59
|
+
var asUint = x >>> 0;
|
|
60
|
+
if (asUint === 0) {
|
|
61
|
+
return 32;
|
|
62
|
+
}
|
|
63
|
+
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
64
|
+
};
|
|
65
|
+
}(Math.log, Math.LN2);
|
|
72
66
|
}
|
|
73
67
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
74
68
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
@@ -81,6 +75,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
81
75
|
return lastIndex !== -1 && lastIndex === position;
|
|
82
76
|
}});
|
|
83
77
|
}
|
|
78
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
79
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
80
|
+
position = position || 0;
|
|
81
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
82
|
+
}});
|
|
83
|
+
}
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: imports
|
|
86
86
|
var imul_0 = Math.imul;
|