Commit Graph

33 Commits

Author SHA1 Message Date
collaboratewithakash 53c1e1451e backlink updated 2023-05-30 17:31:46 +05:30
collaboratewithakash a64ad147d7 backlink updated 2023-05-30 17:24:41 +05:30
Dhawal Kapil 7026b0abc9 JAVA-19536 Fix formatting of pom.xmls 2023-04-05 07:14:09 +05:30
collaboratewithakash 9d85dbf6b6 Update README.md 2022-09-23 16:04:39 +05:30
Ulisses Lima f3ef5a257f 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 ba99476330 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 2eda1aecd5 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 bc4d404991 BAEL-5647 temporarily disable tests 2022-06-20 09:38:18 +03:00
hesamghiasi 1a1d011466 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 f4c4d890d6 BAEL-5465: changed example to LocalDateTime (#12086) 2022-04-18 16:13:13 -07:00
johnA1331 f5be3c8fed Update README.md 2022-03-31 13:44:26 +08:00
etrandafir93 bcb342693c BAEL-5465: removed link from readme, reordered tests (#11977) 2022-03-25 09:09:52 -07:00
etrandafir93 4ab85e1ccc 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 32c8413f82 JAVA-8436: Remove AssertJ depenendency from the child modules - part 4 2021-11-18 14:03:13 +01:00
freelansam a5bcd85b16 JAVA-7433: Fix references to parents (#11275) 2021-10-05 01:08:39 +05:30
freelansam 32dde5b5d1 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 f245635a24 JAVA-5223: Fix formatting of POMs (Part 4) 2021-05-06 22:27:07 +05:30
johnA1331 802c896ad8 Update README.md 2020-07-21 21:12:22 +08:00
Loredana Crusoveanu 7ab2f437ee Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
mikr 5a753ba384 JAVA-1522 Split core-java-modules/core-java module 2020-06-07 16:52:25 +02:00
François Dupire 2bdba48843 [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 fa6e7a73b3 Merge pull request #8894 from nachoverdu/BAEL-3912
BAEL-3912: Changes done
2020-05-14 15:28:21 +02:00
johnA1331 52ca4fbcd9 Update README.md 2020-04-10 15:29:38 +08:00
Nacho Verdu 5249021b68 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 1062b4fef6 BAEL-3911 (#8939)
* Initial version of the code.

* Addressed PR comment.
2020-03-23 19:17:16 +01:00
Nacho Verdu 2401a9af7d BAEL-3912: Changes done 2020-03-16 18:37:46 +00:00
amit.pandey 1f4a4e24ec pom formatting 2020-03-15 18:22:24 +05:30
François Dupire e673011d6b [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 b9a0908199 Update README.md 2020-02-10 13:07:20 +08:00
Ali Dehghani e9daf73125 Fixing Yet Another Date & Time Problem 2020-01-27 23:34:21 +03:30
François Dupire 9136e9a6fb 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 60dc0ca42b BAEL-20573: Update README.md files 2020-01-02 22:49:25 +01:00
Krzysiek eba38ea1d8 BAEL-20573: Rename core-java-date-operations to core-java-date-operations-2 2020-01-02 22:45:18 +01:00