1 | import { _SPInstance, _SPCollection } from "../spqueryable.js";
|
2 | export declare class _RegionalSettings extends _SPInstance<IRegionalSettingsInfo> {
|
3 | |
4 |
|
5 |
|
6 | get timeZone(): ITimeZone;
|
7 | |
8 |
|
9 |
|
10 | get timeZones(): ITimeZones;
|
11 | |
12 |
|
13 |
|
14 | getInstalledLanguages(): Promise<IInstalledLanguageInfo[]>;
|
15 | }
|
16 | export interface IRegionalSettings extends _RegionalSettings {
|
17 | }
|
18 | export declare const RegionalSettings: import("../spqueryable.js").ISPInvokableFactory<IRegionalSettings>;
|
19 | export declare class _TimeZone extends _SPInstance<ITimeZoneInfo> {
|
20 | |
21 |
|
22 |
|
23 |
|
24 |
|
25 | utcToLocalTime(utcTime: string | Date): Promise<string>;
|
26 | |
27 |
|
28 |
|
29 |
|
30 |
|
31 | localTimeToUTC(localTime: string | Date): Promise<string>;
|
32 | }
|
33 | export interface ITimeZone extends _TimeZone {
|
34 | }
|
35 | export declare const TimeZone: import("../spqueryable.js").ISPInvokableFactory<ITimeZone>;
|
36 | export declare class _TimeZones extends _SPCollection<ITimeZoneInfo[]> {
|
37 | |
38 |
|
39 |
|
40 |
|
41 |
|
42 | getById(id: number): Promise<ITimeZoneInfo>;
|
43 | }
|
44 | export interface ITimeZones extends _TimeZones {
|
45 | }
|
46 | export declare const TimeZones: import("../spqueryable.js").ISPInvokableFactory<ITimeZones>;
|
47 |
|
48 |
|
49 |
|
50 | export interface IRegionalSettingsInfo {
|
51 | AdjustHijriDays: number;
|
52 | AlternateCalendarType: number;
|
53 | AM: string;
|
54 | CalendarType: number;
|
55 | Collation: number;
|
56 | CollationLCID: number;
|
57 | DateFormat: number;
|
58 | DateSeparator: string;
|
59 | DecimalSeparator: string;
|
60 | DigitGrouping: string;
|
61 | FirstDayOfWeek: number;
|
62 | FirstWeekOfYear: number;
|
63 | IsEastAsia: boolean;
|
64 | IsRightToLeft: boolean;
|
65 | IsUIRightToLeft: boolean;
|
66 | ListSeparator: string;
|
67 | LocaleId: number;
|
68 | NegativeSign: string;
|
69 | NegNumberMode: number;
|
70 | PM: string;
|
71 | PositiveSign: string;
|
72 | ShowWeeks: boolean;
|
73 | ThousandSeparator: string;
|
74 | Time24: boolean;
|
75 | TimeMarkerPosition: number;
|
76 | TimeSeparator: string;
|
77 | WorkDayEndHour: number;
|
78 | WorkDays: number;
|
79 | WorkDayStartHour: number;
|
80 | }
|
81 | export interface IInstalledLanguageInfo {
|
82 | DisplayName: string;
|
83 | LanguageTag: string;
|
84 | Lcid: number;
|
85 | }
|
86 | export interface ITimeZoneInfo {
|
87 | Description: string;
|
88 | Id: number;
|
89 | Information: {
|
90 | Bias: number;
|
91 | DaylightBias: number;
|
92 | StandardBias: number;
|
93 | };
|
94 | }
|
95 | export interface IUserResources {
|
96 | |
97 |
|
98 |
|
99 | titleResource(cultureName: string): Promise<string>;
|
100 | |
101 |
|
102 |
|
103 | descriptionResource(cultureName: string): Promise<string>;
|
104 | }
|
105 |
|
\ | No newline at end of file |