Calendar currentDate = Calendar.getInstance();
Calendar prevDay = (Calendar) currentDate.clone();
prevDay.add (Calendar.DAY_OF_YEAR, 5);
System.out.println ("After 5 Day: " + prevDay.getTime());
Subscribe to:
Post Comments (Atom)
How ChatGPT can Benefit Coding: Your Guide to Leveraging an AI Language Model
Introduction: Hello, coders! Welcome to this blog post on how ChatGPT, an AI language model, can benefit your coding skills and projects. A...
-
Scan.jsp <HTML> <HEAD> <title>Online Demo of Web Twain<...
-
index.jsp < HTML > < HEAD > < TITLE > Display file upload form to the user </ TITLE > </ HEAD > ...
-
It is a Fun Love calculator algorithm to find out love percentage. It is only for fun. You can check FLAMES Game . Here is Java...
No comments:
Post a Comment