1. Convert a string to GregorianCalendar stackoverflow.comI have a string from an email header, like |
2. I18n and calendars - Can the calendar system remain as the Gregorian Calendar? stackoverflow.comThis is a follow up question (and possibly should have been asked before it) to this question: Subclasses of java.util.Calendar. I'm internationalising a large Java app that uses dates fairly regularly ... |
3. Java: What/where are the maximum and minimum values of a GregorianCalendar? stackoverflow.comWhat are the maximum and minimum values of a GregorianCalendar? Are they in a constant like Integer.MAX_VALUE, or maybe GregorianCalendar.get(BLAH)? In a nutshell, how can I create a GregorianCalendar instance with min/max value? ... |
4. Strange behaviour with GregorianCalendar stackoverflow.comI just encountered a strange behaviour with the GregorianCalendar class, and I was wondering if I really was doing something bad. This only appends when the initialization date's month has an actualMaximum ... |
5. another strange behaviour with GregorianCalendar stackoverflow.comTake a look at the piece of code bellow:
I'm quite confused... Assuming I am running it today as July 14th, ... |
6. XMLGregorianCalendar to GregorianCalendar and back - inconsistent results stackoverflow.comConsider the output from the code below with and without the call to get Calendar.HOUR_OF_DAY:
|
7. Java Calendar Setting Incorrectly stackoverflow.comI'm having some trouble with Java's Calendar. I'm parsing some data from a txt file, and need to create a date. After completion of the following code:
|
8. Calendar's GregorianCalendar methods setting date to previous day stackoverflow.comI'm having a strange issue with abstract Calendar class using the GregorianCalendar method. For some reason using "calendar.set" is returning a date from the previous day. See code below for example with ... |
9. Java: GregorianCalendar returns wrong data stackoverflow.comI want to calculate the monday of a specific week number of a year. This is how I do it:
|
10. Why does the Date class in Java display a year after subtracting 1900 from it? stackoverflow.comSince the Date class in Java was deprecated, I had quite less frequently been using it but when I used it, felt that it might sometimes irritate someone as it displays ... |
11. Right way to convert XMLGregorianCalendar to GregorianCalendar stackoverflow.comI have 2 classes. First contains Calendar field and Integer field (tz offset). Second contains XmlGregorianCalendar field. I want to compare date from firs class to date from second.
|
13. Calendar or GregorianCalendar - how to get coderanch.com |
14. GregorianCalendar -- Calendar.SECOND coderanch.comI think it's really just turning out that way because your statements are being executed so quickly. Because your command take a matter of milliseconds to complete, it's very likely that all 3 Calendar objects will be created at the same second. I added this line after the "new sec();" line: for ( long i = 0; i < 10000000000l; i++ ... |
15. Problem in using java.util.Calendar or Gregorian calendar class - Help needed coderanch.comDear all, The java.util.Calendar class does not return to me the proper result, when i try to peform the arithmetic manipulations on date like Add or subtract.. Internally, to be a on a more specific note, for the date the gregorian calendar's add method is called. Probable Reason: The probable reason for the above issue is the gregorian calendar internally uses ... |
16. Abstract Calendar returns GregorianCalendar? forums.oracle.com |
17. Get time difference Within 2 gregorian Calendars, 1 obtained via SimpleDate forums.oracle.com |
18. Gregorian Calendar: Calendar.VARIABLE forums.oracle.com |