Changeset 49 for rxuls/trunk/tests
- Timestamp:
- Dec 3, 2020, 11:35:31 PM (5 years ago)
- Location:
- rxuls/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
rxuls/trunk
-
Property svn:ignore
set to
*.[Bb][Aa][Kk]
*.[Dd][Ll][Ll]
*.[Ii][Nn][Ff]
*.[Mm][Aa][Pp]
*.[Oo][Bb][Jj]
*.[Zz][Ii][Pp]
-
Property svn:ignore
set to
-
rxuls/trunk/tests/testuf.cmd
r28 r49 2 2 CALL RxFuncAdd 'ULSLoadFuncs', 'RXULS', 'ULSLoadFuncs' 3 3 CALL ULSLoadFuncs 4 CALL RxFuncAdd 'Sys2LoadFuncs', 'RXUTILEX', 'Sys2LoadFuncs' 5 CALL Sys2LoadFuncs 4 6 5 7 /* Epoch time in seconds. */ 6 8 epochtime = 1234567890 9 epochtime = Sys2GetEpochTime() 7 10 tzone = VALUE('TZ',,'OS2ENVIRONMENT') 8 11 … … 11 14 SAY timestr 12 15 13 timestr = ULSFormatTime( epochtime, '%Ec (%EY)',, 'en_US') 16 /* Convert to local time using the ja_JP locale and alternate calendar format. */ 17 timestr = ULSFormatTime( epochtime, '%Ex %EX',, 'ja_JP', 932 ) 18 SAY timestr 19 timestr = ULSFormatTime( epochtime, '%EX %Ex',, 'ja_JP', 932 ) 14 20 SAY timestr 15 21 -
rxuls/trunk/tests/xform.cmd
r28 r49 11 11 DO i = 1 TO LENGTH( de_str ) 12 12 c = SUBSTR( de_str, i, 1 ) 13 IF c == X2C('7f') THEN ITERATE 13 14 IF ULSQueryAttr( c, 'diacritic') <> 1 THEN 14 15 stripped = stripped || c
Note:
See TracChangeset
for help on using the changeset viewer.