65 Commits

Author SHA1 Message Date
nick
5699c49c53 tbel: refactoring raiseError 2024-09-05 18:49:53 +03:00
nick
03af2564eb tbel: refactoring tbUtils with docs #2 2024-09-03 14:22:29 +03:00
nick
b86a9d3802 tbel: refactoring tbUtils with docs 2024-09-02 21:44:23 +03:00
Kulikov
297e3941a7
TBEL: added parseBinaryArrayToInt (#11329)
* tbel: added new parseBinaryArrayToInt
fix bug: parseLongToBinaryArray:
Writes the bit value to the appropriate location in the bins array, starting at the end of the array, to ensure proper alignment (highest bit to low end).

* tbel: refactoring parseBinaryArrayToInt_Test.

* tbel: refactoring arseByteToBinaryArray add Endian

* tbel: added new hexToBase64
2024-08-02 11:11:26 +03:00
Kulikov
ea235b7769
TBEL: added padStart, padEnd, parseByteToBinaryArray, parseBytesToBinaryArray, parseLongToBinaryArray (#11323)
* tbel: added String.prototype.padStart() and String.prototype.padEnd() ;

* tbel: added binary String format

* tbel: added parseByteToBinaryArray, parseBytesToBinaryArray, parseLongToBinaryArray
2024-07-31 13:40:53 +03:00
Kulikov
b48474861e
TBEL: added parseBytesIntToFloat, parseBytesLongToDouble, byteArrayToExecutionArrayList (#11296)
* tbel: added  parseBytesIntLongToFloat

* tbel: added  to doubleToHex_Test() String valueHex = "0x000000000000000A";

* tbel: added  byteArray to ExecutionArrayList;
2024-07-30 11:20:30 +03:00
nick
7fcb82cea9 tbel: added new version tbel and new test hexToBytes 2024-07-25 13:22:21 +03:00
nick
c347c067e7 tbel: added some parseBytesTo Int/Long/Float/Double methods with length 2024-07-23 16:28:17 +03:00
nick
2f838c4fbf tbel: added some double methods 2024-07-23 12:37:48 +03:00
nick
7e0a9bbebf tbel: added some float methods 2024-07-22 17:39:46 +03:00
Kulikov
99d4eb0d9c
TBEL: new methods (#11129)
* tbel: number to string by radix

* Revert "tbel: number to string by radix"

This reverts commit 0fd285d76b5f25002f84768ab490e750539509d0.

* tbel: number to string by radix and new Error

* tbel: number to Hexadecimal must be even-length.

* tbel: add tests isBinary...isHexadecimal

* tbel: Comments 1

* tbel: Comments 2

* tbel: Comments 3
2024-07-10 14:31:11 +03:00
Oleksandra Matviienko
63df92e995 JUnit5 migration in common. Junit-platform.properties and logback-test.xml where added to java resource directories if needed.
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-26 23:55:17 +02:00
nick
5f7f57cb63 tbel: encodeURI() decodeURI() == mdn 2024-04-16 17:33:12 +03:00
YevhenBondarenko
60be820915 merge with master 2024-01-15 18:51:00 +01:00
Igor Kulikov
c5a72ed8df Update license header to 2024 year. 2024-01-09 10:46:16 +02:00
nick
c636ea2c0e fix_bug: TbDateTests -> JDK ver 2023-12-28 14:51:45 +02:00
YevhenBondarenko
1fc704bae1 test fixes and minor refactoring 2023-12-26 11:08:06 +01:00
YevhenBondarenko
feb44656f1 merge with master 2023-12-26 00:58:31 +01:00
nick
3bf585ec80 tbel fix_bug tbDate delete String... options 2023-12-09 09:30:31 +02:00
nick
fbfecf3410 tbel fix_bug tbDate tests Constructor class 2023-12-07 19:40:02 +02:00
nick
a12c9e11f8 tbel fix_bug tbDate test 2023-12-07 15:05:45 +02:00
nick
272cc27257 tbel fix_bug tbDate parameters date as String with patter + locale 2023-12-06 15:10:26 +02:00
nick
a246b3c4a7 tbel fix_bug tbDate parameters Locale and TZ as String 2023-12-06 11:27:05 +02:00
nick
39b0959c77 tbel fix_bug tbDate from String without TZ RFC_1123 2023-12-06 08:10:58 +02:00
nick
91552b18b8 tbel fix_bug tbDate from String without TZ add test 2023-12-05 22:27:59 +02:00
Andrii Shvaika
fc698b4f31 Revert changes to JacksonUtil 2023-12-05 13:22:59 +02:00
nick
bc5a1b4be9 tbel fix_bug tbDate Default zoneId - ZoneId.systemDefault() 2023-12-04 22:22:31 +02:00
nick
240cd25cf4 tbel fix_bug tbDate parse toString with Object Mapper 2023-12-04 19:10:22 +02:00
nick
ee8dd9f987 stringToBytes: comments2 2023-11-27 18:23:05 +02:00
nick
baa684f72b stringToBytes: refactoring test 2023-11-26 21:58:29 +02:00
nick
248bcefa80 stringToBytes: refactoring, Input parameter Object as HexString, DigString, Integer, Byte 2023-11-25 19:39:58 +02:00
nick
954084cd7a stringToBytes: refactoring, Input parameter Object as String 2023-11-09 13:45:17 +02:00
nick
83039ccedf tbDate:fix bug now comments 2 2023-11-02 16:36:15 +02:00
nick
3eed08e5c8 tbDate:fix bug now comments 2 2023-11-02 16:17:31 +02:00
nick
e4277cd79c tbDate:fix bug now comments 1 2023-11-02 16:13:46 +02:00
nick
e7dc68f18f tbDate:fix bug now 2023-11-02 12:21:37 +02:00
nick
5b25340e26 tbDate: delete zoneDateTimeString 2023-11-01 15:29:12 +02:00
nick
f1a751db5a tbDate: add DateTimeFormatter 2023-10-27 16:33:42 +03:00
nick
6b8eae035e tbDate: add toZonedDateTimeString 2023-10-27 15:01:58 +03:00
nick
aae995de5d tbDate: java11 date to Instant 2023-10-26 16:07:35 +03:00
Andrii Shvaika
5a0b942b75 Fix backward compatibility 2023-10-25 15:57:42 +03:00
nick
2046c4863f tbDate: comments3 2023-10-24 16:48:08 +03:00
nick
dfb1200e95 tbDate: comments2 2023-10-24 16:11:00 +03:00
nick
69bcd8426e tbDate: Tests were checked with:
*      -timezone Etc/GMT-14
             *      -timezone Etc/GMT+12
             *      -timezone America/New_York
             *      -timezone Europe/Kyiv
2023-10-17 18:42:28 +03:00
nick
5126c9abab tbDate: delete timeZneId 2023-10-17 16:20:01 +03:00
nick
42e5f063a4 tbDate: tests add method as Date JS 2023-10-06 10:52:36 +03:00
nick
f3d258e60a tbDate: tests comments1 2023-10-02 15:32:38 +03:00
nick
ab2976292b tbDate: fix bug tests 2023-09-29 17:22:36 +03:00
nick
47d1dc5fcf tbDate: class TbDate implements InstantSource 2023-09-29 11:53:38 +03:00
nick
db4ce97621 tbDate: TbDate implements InstantSource 2023-09-29 11:49:35 +03:00