@solibo/solibo-sdk 1.0.37 → 1.0.39
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.g1i(structure);
|
|
363
363
|
}
|
|
364
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
364
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
|
|
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
|
@@ -37,6 +37,17 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
37
37
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
+
if (typeof Math.clz32 === 'undefined') {
|
|
41
|
+
Math.clz32 = function (log, LN2) {
|
|
42
|
+
return function (x) {
|
|
43
|
+
var asUint = x >>> 0;
|
|
44
|
+
if (asUint === 0) {
|
|
45
|
+
return 32;
|
|
46
|
+
}
|
|
47
|
+
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
48
|
+
};
|
|
49
|
+
}(Math.log, Math.LN2);
|
|
50
|
+
}
|
|
40
51
|
if (typeof Math.log10 === 'undefined') {
|
|
41
52
|
Math.log10 = function (x) {
|
|
42
53
|
return Math.log(x) * Math.LOG10E;
|
|
@@ -53,17 +64,6 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
53
64
|
return Math.ceil(x);
|
|
54
65
|
};
|
|
55
66
|
}
|
|
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);
|
|
66
|
-
}
|
|
67
67
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
68
68
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
69
69
|
var subjectString = this.toString();
|