|
| 1 | +export declare const empty = ""; |
| 2 | +export declare function isNullOrWhiteSpace(value: string | null | undefined): boolean; |
| 3 | +export declare function join(delimiter: string, ...args: (string | object | Array<any>)[]): string; |
| 4 | +export declare function format(format: string, ...args: any[]): string; |
| 5 | +export declare class String { |
| 6 | + private static readonly regexNumber; |
| 7 | + private static readonly regexObject; |
| 8 | + static empty: string; |
| 9 | + /** |
| 10 | + * @deprecated The property should not be used, and will be removed in future versions! Use `String.empty` instead. |
| 11 | + */ |
| 12 | + static Empty: string; |
| 13 | + /** |
| 14 | + * @deprecated The method should not be used, and will be removed in future versions! Use `String.isNullOrWhiteSpace()` instead. |
| 15 | + */ |
| 16 | + static IsNullOrWhiteSpace(value: string | null | undefined): boolean; |
| 17 | + /** |
| 18 | + * @deprecated The method should not be used, and will be removed in future versions! Use `String.join()` instead. |
| 19 | + */ |
| 20 | + static Join(delimiter: string, ...args: (string | object | Array<any>)[]): string; |
| 21 | + /** |
| 22 | + * @deprecated The method should not be used, and will be removed in future version!s Use `String.format()` instead. |
| 23 | + */ |
| 24 | + static Format(format: string, ...args: any[]): string; |
| 25 | + static isNullOrWhiteSpace(value: string | null | undefined): boolean; |
| 26 | + static join(delimiter: string, ...args: (string | object | Array<any>)[]): string; |
| 27 | + static format(format: string, ...args: any[]): string; |
| 28 | + private static formatString; |
| 29 | + private static parsePattern; |
| 30 | + private static decimalToHexString; |
| 31 | + private static getDisplayDateFromString; |
| 32 | + private static getSortableDateFromString; |
| 33 | + private static formatNumber; |
| 34 | + private static joinString; |
| 35 | +} |
| 36 | +export declare class StringBuilder { |
| 37 | + Values: string[]; |
| 38 | + constructor(value?: string); |
| 39 | + toString(): string; |
| 40 | + /** |
| 41 | + * @deprecated The method should not be used, and will be removed in future versions! Use `toString()` instead. |
| 42 | + */ |
| 43 | + ToString(): string; |
| 44 | + append(value: string): void; |
| 45 | + /** |
| 46 | + * @deprecated The method should not be used, and will be removed in future versions! Use `append()` instead. |
| 47 | + */ |
| 48 | + Append(value: string): void; |
| 49 | + appendLine(value: string): void; |
| 50 | + /** |
| 51 | + * @deprecated The method should not be used, and will be removed in future versions! Use `appendLine()` instead. |
| 52 | + */ |
| 53 | + AppendLine(value: string): void; |
| 54 | + appendFormat(format: string, ...args: any[]): void; |
| 55 | + /** |
| 56 | + * @deprecated The method should not be used, and will be removed in future versions! Use `appendFormat()` instead. |
| 57 | + */ |
| 58 | + AppendFormat(format: string, ...args: any[]): void; |
| 59 | + appendLineFormat(format: string, ...args: any[]): void; |
| 60 | + /** |
| 61 | + * @deprecated The method should not be used, and will be removed in future versions! Use `appendLineFormat()` instead. |
| 62 | + */ |
| 63 | + AppendLineFormat(format: string, ...args: any[]): void; |
| 64 | + clear(): void; |
| 65 | + /** |
| 66 | + * @deprecated The method should not be used, and will be removed in future versions! Use `clear()` instead. |
| 67 | + */ |
| 68 | + Clear(): void; |
| 69 | +} |
0 commit comments