dl-common-util 0.1.1 → 0.1.3

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.
@@ -0,0 +1,15 @@
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ root['Kotlin-DateTime-library-kotlinx-datetime'] = factory(typeof this['Kotlin-DateTime-library-kotlinx-datetime'] === 'undefined' ? {} : this['Kotlin-DateTime-library-kotlinx-datetime']);
8
+ }(globalThis, function (_) {
9
+ 'use strict';
10
+ //region block: pre-declaration
11
+ //endregion
12
+ return _;
13
+ }));
14
+
15
+ //# sourceMappingURL=Kotlin-DateTime-library-kotlinx-datetime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -1,12 +1,12 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  export declare namespace com.d10ng.common.base {
3
- function byteArrayToBinString(_this_: Int8Array, space?: boolean): string;
4
- function byteArrayToHexString(_this_: Int8Array, space?: boolean, uppercase?: boolean): string;
3
+ function byteArrayToBinString(_this_?: Int8Array, space?: boolean): string;
4
+ function byteArrayToHexString(_this_?: Int8Array, space?: boolean, uppercase?: boolean): string;
5
5
  function byteArrayToUnsignedInt(_this_: Int8Array): number;
6
6
  function byteArrayToUnsignedLong(_this_: Int8Array): any/* kotlin.Long */;
7
7
  function indexOfByteArray(_this_: Int8Array, bs: Int8Array): number;
8
- function byteArrayPadStart(_this_: Int8Array, length: number, padByte?: number): Int8Array;
9
- function byteArrayPadEnd(_this_: Int8Array, length: number, padByte?: number): Int8Array;
8
+ function byteArrayPadStart(_this_: Int8Array, length?: number, padByte?: number): Int8Array;
9
+ function byteArrayPadEnd(_this_: Int8Array, length?: number, padByte?: number): Int8Array;
10
10
  function byteArrayGetBitRange(_this_: Int8Array, start: number, length: number): Int8Array;
11
11
  }
12
12
  export declare namespace com.d10ng.common.base {
@@ -38,7 +38,7 @@ export declare namespace com.d10ng.common.base {
38
38
  }
39
39
  export declare namespace com.d10ng.common.base {
40
40
  function byteToBinString(_this_: number): string;
41
- function byteToHexString(_this_: number, uppercase?: boolean): string;
41
+ function byteToHexString(_this_?: number, uppercase?: boolean): string;
42
42
  function byteToUnsignedInt(_this_: number): number;
43
43
  function byteGetBit(_this_: number, bitIndex: number): number;
44
44
  }
@@ -66,14 +66,14 @@ export declare namespace com.d10ng.common.calculate {
66
66
  get name(): "XOR";
67
67
  get ordinal(): 2;
68
68
  };
69
- static values(): Array<com.d10ng.common.calculate.ChecksumType>;
70
- static valueOf(value: string): com.d10ng.common.calculate.ChecksumType;
71
69
  get name(): "AND" | "OR" | "XOR";
72
70
  get ordinal(): 0 | 1 | 2;
71
+ static values(): Array<com.d10ng.common.calculate.ChecksumType>;
72
+ static valueOf(value: string): com.d10ng.common.calculate.ChecksumType;
73
73
  }
74
- function assertChecksum(_this_: Int8Array, type?: com.d10ng.common.calculate.ChecksumType): boolean;
75
- function getChecksum(_this_: Int8Array, type?: com.d10ng.common.calculate.ChecksumType, start?: number, length?: number): number;
76
- function addChecksum(_this_: Int8Array, type?: com.d10ng.common.calculate.ChecksumType): Int8Array;
74
+ function assertChecksum(_this_?: Int8Array, type?: com.d10ng.common.calculate.ChecksumType): boolean;
75
+ function getChecksum(_this_?: Int8Array, type?: com.d10ng.common.calculate.ChecksumType, start?: number, length?: number): number;
76
+ function addChecksum(_this_?: Int8Array, type?: com.d10ng.common.calculate.ChecksumType): Int8Array;
77
77
  }
78
78
  export declare namespace com.d10ng.common.calculate {
79
79
  function isDarkColor(color: string): boolean;
@@ -125,10 +125,10 @@ export declare namespace com.d10ng.common.coordinate {
125
125
  get name(): "BD09";
126
126
  get ordinal(): 2;
127
127
  };
128
- static values(): Array<com.d10ng.common.coordinate.CoordinateSystemType>;
129
- static valueOf(value: string): com.d10ng.common.coordinate.CoordinateSystemType;
130
128
  get name(): "WGS84" | "GCJ02" | "BD09";
131
129
  get ordinal(): 0 | 1 | 2;
130
+ static values(): Array<com.d10ng.common.coordinate.CoordinateSystemType>;
131
+ static valueOf(value: string): com.d10ng.common.coordinate.CoordinateSystemType;
132
132
  }
133
133
  }
134
134
  export declare namespace com.d10ng.common.coordinate {
@@ -137,13 +137,13 @@ export declare namespace com.d10ng.common.coordinate {
137
137
  function isNorthLatitude(_this_: number): boolean;
138
138
  function toLongitudeNoPre(_this_: number): number;
139
139
  function toLatitudeNoPre(_this_: number): number;
140
- function toFullLongitude(_this_: number, isEast: boolean, isPositive?: boolean): number;
141
- function toFullLatitude(_this_: number, isNorth: boolean, isPositive?: boolean): number;
140
+ function toFullLongitude(_this_: number, isEast?: boolean, isPositive?: boolean): number;
141
+ function toFullLatitude(_this_: number, isNorth?: boolean, isPositive?: boolean): number;
142
142
  function toDMS(_this_: number, isLongitude: boolean): com.d10ng.common.coordinate.DMS;
143
143
  function toLatLng(_this_: com.d10ng.common.coordinate.DMS): number;
144
- function toLatLngString(_this_: number, isLongitude: boolean, pattern?: string): string;
145
- function toLongitudeString(_this_: number, pattern?: string): string;
146
- function toLatitudeString(_this_: number, pattern?: string): string;
144
+ function toLatLngString(_this_: number, isLongitude?: boolean, pattern?: string): string;
145
+ function toLongitudeString(_this_?: number, pattern?: string): string;
146
+ function toLatitudeString(_this_?: number, pattern?: string): string;
147
147
  function toLatLngByString(_this_: string, pattern: string): number;
148
148
  function toLongitude(_this_: string, pattern: string): number;
149
149
  function toLatitude(_this_: string, pattern: string): number;
@@ -205,7 +205,7 @@ export declare namespace com.d10ng.common.transform {
205
205
  function encodeUTF8(_this_: string): Int8Array;
206
206
  function decodeUTF8(_this_: Int8Array): string;
207
207
  function encodeUnicode(_this_: string): Int8Array;
208
- function encodeUnicodeString(_this_: string, isNeedU?: boolean): string;
208
+ function encodeUnicodeString(_this_?: string, isNeedU?: boolean): string;
209
209
  function decodeUnicode(_this_: Int8Array): string;
210
210
  function decodeUnicodeString(_this_: string): string;
211
211
  function encodeASCII(_this_: string): Int8Array;
@@ -214,11 +214,11 @@ export declare namespace com.d10ng.common.transform {
214
214
  function decodeASCIIString(_this_: string): string;
215
215
  }
216
216
  export declare namespace com.d10ng.common.transform {
217
- function toPinYin(_this_: string, separator?: string): string;
217
+ function toPinYin(_this_?: string, separator?: string): string;
218
218
  }
219
219
  export declare namespace com.d10ng.common.base {
220
220
  function numberToString(_this_: any/* kotlin.Number */, maxDecimalCount: number): string;
221
- function numberToByteArray(_this_: any/* kotlin.Number */, size?: number): Int8Array;
221
+ function numberToByteArray(_this_?: any/* kotlin.Number */, size?: number): Int8Array;
222
222
  function asLong(_this_: any/* kotlin.Number */): any/* kotlin.Long */;
223
223
  }
224
224
  export as namespace com_github_D10NGYANG_DLCommonUtil;