Transpiled version (3082L) is out of date.
svoid test_parseBusinessHours() { Map<S, L<IntRange>> examples = test_parseBusinessHours_examples(); testFunctionValues parseBusinessHours(mapToParams(examples)); } static Map<S, L<IntRange>> test_parseBusinessHours_examples() { // end values are one hour or one minute less because the range is inclusive ret litorderedmap( null, ll(), "", ll(), " ", ll(), "9-12", ll(intRange(9*60, 12*60)), "9-13", ll(intRange(9*60, 13*60)), "15-18", ll(intRange(15*60, 18*60)), "9-10, 16-17", ll(intRange(9*60, 10*60), intRange(16*60, 17*60)), "9:30-10:45", ll(intRange(9*60+30, 10*60+45)), "9-5", ll(intRange(9*60, 17*60)), ); }
Began life as a copy of #1028601
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028624 |
Snippet name: | test_parseBusinessHours (OK) |
Eternal ID of this version: | #1028624/9 |
Text MD5: | 1436c37f56a49a9b1d09add4975dce39 |
Author: | stefan |
Category: | javax / english nlp |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-29 19:39:51 |
Source code size: | 687 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 207 / 309 |
Version history: | 8 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |