Commit Graph

31 Commits

Author SHA1 Message Date
Dhawal Kapil
bb5bfa992a JAVA-19536 Fix formatting of pom.xmls 2023-04-05 07:14:09 +05:30
collaboratewithakash
7adb9752c4 Update README.md 2022-09-23 16:04:39 +05:30
Ulisses Lima
3577acbabb BAEL-5666 - Create Date from Unix timestamp in Java (#12650)
* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* Spring Data MongoDB - Configure Connection

Ready for revision.

* fixed tests to reflect article changes

* BAEL-5657

* reverting BAEL-5657

* reverting BAEL-5657

* ready for review

* removing bael-5366

* removing bael-5366

* removing extra blank space

* bael-5666

editor review

* editor review

* long literals
* junit 5
* private constructor for utils

* junit5 assertThat
2022-09-16 22:31:27 +02:00
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
Asjad J
67710f5391 Updated README.md
added link back to the article: https://www.baeldung.com/java-calculate-time-ago
2022-06-21 11:13:13 +05:00
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
johnA1331
73ad6fe110 Update README.md 2022-03-31 13:44:26 +08: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
Krzysiek
b978d68efb JAVA-8436: Remove AssertJ depenendency from the child modules - part 4 2021-11-18 14:03:13 +01:00
freelansam
160b977f61 JAVA-7433: Fix references to parents (#11275) 2021-10-05 01:08:39 +05:30
freelansam
69a1db0eb0 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
sampadawagde
af91accf4e JAVA-5223: Fix formatting of POMs (Part 4) 2021-05-06 22:27:07 +05:30
johnA1331
88a572f22d Update README.md 2020-07-21 21:12:22 +08: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
François Dupire
da21b60f9a [JAVA-1657] Junit and Maven Surefire Plugin upgrade in core-java-modules (#9301)
* [JAVA-1657] core-java-modules JUnit and Maven Surefire Plugin upgrade

* [JAVA-1657] Changed sub modules parents to core-java-modules and core-java-modules to parent-java

* [JAVA-1657] Upgraded JUnit Jupiter version

* [JAVA-1657] Get JUnit 4 dependency transitively
2020-05-25 19:45:48 +05:30
Jonathan Cook
e6e3cf7e22 Merge pull request #8894 from nachoverdu/BAEL-3912
BAEL-3912: Changes done
2020-05-14 15:28:21 +02:00
johnA1331
7a9c0da4dc Update README.md 2020-04-10 15:29:38 +08: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
amit.pandey
04c9af4965 pom formatting 2020-03-15 18:22:24 +05:30
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
johnA1331
384c2382a5 Update README.md 2020-02-10 13:07:20 +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
4eb413101a BAEL-20573: Update README.md files 2020-01-02 22:49:25 +01:00
Krzysiek
b057f952e7 BAEL-20573: Rename core-java-date-operations to core-java-date-operations-2 2020-01-02 22:45:18 +01:00