P

Pretty print java duration

1 Min Read
0 988
1 Min Read
0 988

In this article, we will see how to format Java’s duration object in a readable format. Java’s duration class is part of the java.time package and is often used for measuring time intervals or durations in various Java applications. While…

Continue Reading
H

How to join file paths in Java

1 Min Read
0 838
1 Min Read
0 838

The paths to files and directories vary between operating systems. For example, in Windows, backslashes (\) are used as separators, whereas in Unix-based systems, forward slash (/)is used. When joining the file paths, we should write generic code that will…

Continue Reading
Exit mobile version