Commit Graph

16 Commits

Author SHA1 Message Date
hesamghiasi
f4da85f3da fixing time ago unit tests (#12560)
* adding getCurrentTime method to TimeAgoCalculatorUnitTest in order to always return the same time and avoid problems related to reading date from local system.
adding two methods to TimeAgoCalculator to always return the same date as the current date in order to avoid problems related to reading current time from local host. One of these two methods accepts time zone

* adding getCurrentTime method to TimeAgoCalculatorUnitTest in order to always return the same time and avoid problems related to reading date from local system.
adding two methods to TimeAgoCalculator to always return the same date as the current date in order to avoid problems related to reading current time from local host. One of these two methods accepts time zone
correcting some formattings
adding comments in code to clarify adding of getCurrentTime methods

* reverting changes to ZuulConfig
2022-08-06 19:08:59 +05:30
Loredana Crusoveanu
e7e8c7c054 BAEL-5647 temporarily disable tests 2022-06-20 09:38:18 +03:00
hesamghiasi
e31a4dff8d adding code for calculating time ago in Java for both version 7 and v… (#12313)
* adding code for calculating time ago in Java for both version 7 and version 8. The code contains pure java and third-party solutions.

* changing name of test classes to contain UnitTest in order to comply with the rules

* changing TimeGranularity.toMillis to abstract method
2022-06-14 17:22:57 +05:30
etrandafir93
3e62ed5cdb BAEL-5465: changed example to LocalDateTime (#12086) 2022-04-18 16:13:13 -07:00
etrandafir93
bda9fd8272 BAEL-5465: removed link from readme, reordered tests (#11977) 2022-03-25 09:09:52 -07:00
etrandafir93
d6dd38a02b BAEL-5465: tests for subtracting days from date (#11954)
* BAEL-5465: tests for subtracting days from date

* BAEL-5465: upated readme
2022-03-22 08:59:07 -07:00
Loredana Crusoveanu
485b4e3e99 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
mikr
aece4e5216 JAVA-1522 Split core-java-modules/core-java module 2020-06-07 16:52:25 +02:00
Jonathan Cook
e6e3cf7e22 Merge pull request #8894 from nachoverdu/BAEL-3912
BAEL-3912: Changes done
2020-05-14 15:28:21 +02:00
Nacho Verdu
6672c075f3 BAEL-3912: Changes done for comments
BAEL-3912: Changes done for comments

BAEL-3912: Changes done for comments

BAEL-3912: Changes done for comments

BAEL-3912: Changes done for comments

BAEL-3912: Changes done for comments

BAEL-3912: Changes done for comments
2020-03-26 21:57:31 +00:00
Karsten Silz
192eb1f54c BAEL-3911 (#8939)
* Initial version of the code.

* Addressed PR comment.
2020-03-23 19:17:16 +01:00
Nacho Verdu
6fff6fa9cc BAEL-3912: Changes done 2020-03-16 18:37:46 +00:00
François Dupire
9a838423fb [BAEL-3488] Timer Class (#8769)
* [BAEL-3488] Moving code to core-java where the original article code was located

* [BAEL-3488] Moved original code under timer package
2020-02-23 08:53:12 -08:00
Ali Dehghani
96555d8f01 Fixing Yet Another Date & Time Problem 2020-01-27 23:34:21 +03:30
François Dupire
51f5bf282f dupirefr/dupire.francois+pro@gmail.com [BAEL-3488] Timer Class (#8468)
* [BAEL-3488] Added examples and tests

* [BAEL-3488] Moved code to core-java-date-operations-2 module

* [BAEL-3488] Added assertj library to maven dependencies
2020-01-09 16:06:52 -08:00
Krzysiek
b057f952e7 BAEL-20573: Rename core-java-date-operations to core-java-date-operations-2 2020-01-02 22:45:18 +01:00