aspose file tools*
The moose likes Beginning Java and the fly likes CalendarGregorian: what means this fields? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "CalendarGregorian: what means this fields?" Watch "CalendarGregorian: what means this fields?" New topic
Author

CalendarGregorian: what means this fields?

Harold Ferguson
Greenhorn

Joined: Sep 05, 2012
Posts: 12
Excuse-me if the question is too simple, but i can't understand the means of any fields.
The output of

is

The code that i could not understand is transitions and lastRule.
The documentation says that transiction is " transition table" , but what's it?
Maybe lastRule could be the last getTimeZone() call that i've done, but i'm not sure.
Can anyone explain me in more detail,please?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18121
    
    8

That's internal data used by the TimeZone object to do its work. Is there a particular reason why you need to understand it?

And no, I can't explain it to you. I don't know what they are for and I don't care, as long as the TimeZone object does what it's supposed to do. Which it does.
Harold Ferguson
Greenhorn

Joined: Sep 05, 2012
Posts: 12
Paul Clapham wrote:That's internal data used by the TimeZone object to do its work. Is there a particular reason why you need to understand it?

And no, I can't explain it to you. I don't know what they are for and I don't care, as long as the TimeZone object does what it's supposed to do. Which it does.

No, i'm curious only why i read here http://stackoverflow.com/questions/5594805/day-light-saving-time-and-java that there's variouses values for the item "transition".
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7045
    
  16

Harold Ferguson wrote:The output of...

Harold,

I broke up the enormous lines of that output. Please re-read the UseCodeTags (←click) page carefully.

Thanks

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Artlicles by Winston can be found here
Harold Ferguson
Greenhorn

Joined: Sep 05, 2012
Posts: 12
Winston Gutkowski wrote:
Harold Ferguson wrote:The output of...

Harold,

I broke up the enormous lines of that output. Please re-read the UseCodeTags (←click) page carefully.

Thanks

Winston

Thanks, and excuse-me!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CalendarGregorian: what means this fields?
 
Similar Threads
Calendar - get(Calendar.MONTH) doesn't match
Strange behavior, with timezone maybe?
Output a Calendar with timezone, in W3C datetime format?
Daylight Saving Time in Java5
Calendar.getTime() not properly reporting DST?