Top "Gregorian-calendar" questions

The Gregorian calendar is the de facto international civil calendar.

adding days to a date

I have a program that needs to start on 1/1/09 and when I start a new day, my program will show …

java date gregorian-calendar
Displaying the last two digits of the current year in Java

How can I display only the last two digits of the current year without using any substring algorithms or any …

java date-formatting gregorian-calendar
Adding Days to Calendar

I'm new to this site and I have just started learning Java. I'm trying to add couple days to the …

java date gregorian-calendar
How convert Gregorian date to Persian date?

I want to convert a custom Gregorian date to Persian date in C#. For example, i have a string with …

c# date gregorian-calendar date-conversion persian
Making a digital clock in Java

I'm making a digital clock for a project and I have four classes: DigitalTimeUI, which is the JFrame class, TitlePanel, …

java swing gregorian-calendar
Can you set AM/PM in a GregorianCalendar date or is it something you can only get

I had a look at the java api about GregorianCalendar and did not see any way of setting the am/…

java time gregorian-calendar
convert XMLGregorianCalendar to java.sql.Timestamp

I'm trying to assign a XMLGregorianCalendar date to a java.sql.Timestamp var, like this... var1.setTimeStamp(Timestamp.valueOf(var2.…

java date timestamp gregorian-calendar
Get day of the week from GregorianCalendar

I have a date and I need to know the day of the week, so I used a GregorianCalendar object …

android date calendar gregorian-calendar
converting gregorian to hijri date

I want to convert from Gregorian to Hijri(Islamic) date and I need a java class for this converting. I …

java date gregorian-calendar date-conversion hijri
Getting current datetime using Calendar.getInstance() vs new GregorianCalendar()

What might be the difference between getting datetime using Calendar.getInstance() vs new GregorianCalendar() ?

java calendar gregorian-calendar