forked from microsoft/ALAppExtensions
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added time zone management module (microsoft#21246)
This module aims to provide methods to correctly calculate the offset between a datetime in a time zone from UTC and the offset between time zones. Other than the functions in the Type Helper codeunit in the base app, this module takes daylight saving time into account when applicable. Additionally, the module provides indicators on whether a time zone supports daylight saving time or whether a given datetime falls within the daylight saving time period for a given time zone.
- Loading branch information
1 parent
6b8a98d
commit ebe8947
Showing
10 changed files
with
712 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
Modules/System Test Libraries/Date & Time/Permissions/Date&TimeExecute.PermissionSet.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
permissionset 132979 "Date&Time - Execute" | ||
{ | ||
Assignable = true; | ||
|
||
IncludedPermissionSets = "Date & Time - Objects"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"id": "76e7cf97-ab30-49f0-b430-6a91b6ac9b53", | ||
"name": "Date & Time Test Library", | ||
"publisher": "Microsoft", | ||
"version": "21.0.0.0", | ||
"brief": "Library with Test objects for the Date & Time module", | ||
"description": "Library with Test objects for the Date & Time module", | ||
"privacyStatement": "https://go.microsoft.com/fwlink/?LinkId=724009", | ||
"EULA": "https://go.microsoft.com/fwlink/?linkid=2009120", | ||
"help": "", | ||
"url": "https://go.microsoft.com/fwlink/?LinkId=724011", | ||
"logo": "", | ||
"dependencies": [ | ||
{ | ||
"id": "4c315253-b024-4fdc-9c3d-794036768af5", | ||
"name": "Date & Time", | ||
"publisher": "Microsoft", | ||
"version": "21.0.0.0" | ||
} | ||
], | ||
"screenshots": [], | ||
"platform": "21.0.0.0", | ||
"application": "21.0.0.0", | ||
"idRanges": [ | ||
{ | ||
"from": 132979, | ||
"to": 132979 | ||
} | ||
], | ||
"resourceExposurePolicy": { | ||
"allowDebugging": true, | ||
"allowDownloadingSource": false, | ||
"includeSourceInSymbolFile": false | ||
}, | ||
"runtime": "10.0", | ||
"features": [ | ||
"NoImplicitWith" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"id": "93de27b1-58ac-4586-8f28-805cec92d808", | ||
"name": "Time Zone Management Test", | ||
"publisher": "Default publisher", | ||
"version": "1.0.0.0", | ||
"brief": "", | ||
"description": "", | ||
"privacyStatement": "", | ||
"EULA": "", | ||
"help": "", | ||
"url": "", | ||
"logo": "", | ||
"dependencies": [ | ||
{ | ||
"id": "4c315253-b024-4fdc-9c3d-794036768af5", | ||
"name": "Date & Time", | ||
"publisher": "Microsoft", | ||
"version": "21.0.0.0" | ||
}, | ||
{ | ||
"id": "40860557-a18d-42ad-aecb-22b7dd80dc80", | ||
"name": "Permissions Mock", | ||
"publisher": "Microsoft", | ||
"version": "21.0.0.0" | ||
}, | ||
{ | ||
"id": "76e7cf97-ab30-49f0-b430-6a91b6ac9b53", | ||
"name": "Date & Time Test Library", | ||
"publisher": "Microsoft", | ||
"version": "21.0.0.0" | ||
}, | ||
{ | ||
"id": "9856ae4f-d1a7-46ef-89bb-6ef056398228", | ||
"publisher": "Microsoft", | ||
"name": "System Application Test Library", | ||
"version": "19.0.29884.30693" | ||
}, | ||
{ | ||
"id": "dd0be2ea-f733-4d65-bb34-a28f4624fb14", | ||
"publisher": "Microsoft", | ||
"name": "Library Assert", | ||
"version": "19.0.29884.30693" | ||
}, | ||
{ | ||
"id": "23de40a6-dfe8-4f80-80db-d70f83ce8caf", | ||
"publisher": "Microsoft", | ||
"name": "Test Runner", | ||
"version": "19.0.29884.30693" | ||
}, | ||
{ | ||
"id": "5d86850b-0d76-4eca-bd7b-951ad998e997", | ||
"publisher": "Microsoft", | ||
"name": "Tests-TestLibraries", | ||
"version": "19.0.29884.30693" | ||
} | ||
], | ||
"screenshots": [], | ||
"platform": "21.0.0.0", | ||
"application": "21.0.0.0", | ||
"idRanges": [ | ||
{ | ||
"from": 132979, | ||
"to": 132979 | ||
} | ||
], | ||
"resourceExposurePolicy": { | ||
"allowDebugging": true, | ||
"allowDownloadingSource": false, | ||
"includeSourceInSymbolFile": false | ||
}, | ||
"runtime": "10.0", | ||
"features": [ | ||
"NoImplicitWith" | ||
] | ||
} |
Oops, something went wrong.