Java Doc for Zoneinfo.java in  » 6.0-JDK-Modules » j2me » sun » tools » javazic » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » sun.tools.javazic 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   sun.tools.javazic.Zoneinfo

Zoneinfo
class Zoneinfo (Code)
Zoneinfo provides javazic compiler front-end functionality.
since:
   1.4


Field Summary
static  booleanisYearForTimeZoneDataSpecified
     True if javazic should generate a list of SimpleTimeZone instantiations for the SimpleTimeZone-based time zone support.

Constructor Summary
 Zoneinfo()
     Constracts a Zoneinfo.

Method Summary
 voidadd(Zone zone)
     Adds the given zone to the list of Zones.
 voidadd(Rule rule)
     Adds the given rule to the list of Rules.
 HashMapgetAliases()
    
static  intgetEndYear()
    
static  intgetMaxYear()
    
static  intgetMinYear()
    
 RulegetRule(String name)
    
static  intgetStartYear()
    
 ZonegetZone(String name)
    
 IteratorgetZoneIterator()
    
 HashMapgetZones()
    
static  Zoneinfoparse(String fname)
     Parses the specified time zone data file and creates a Zoneinfo that has all Rules, Zones and Links (aliases) information.
 Timezonephase2(String zoneName)
     Interprets a zone and constructs a Timezone object that contains enough information on GMT offsets and DST schedules to generate a zone info database.
Parameters:
  zoneName - the zone name for which a Timezone object isconstructed.
 voidputAlias(String name1, String name2)
     Puts the specifid name pair to the alias table.
static  voidsetEndYear(int year)
     Sets the end year.
static  voidsetStartYear(int year)
     Sets the start year.
static  voidsetYear(int year)
     Sets the given year for SimpleTimeZone list output.

Field Detail
isYearForTimeZoneDataSpecified
static boolean isYearForTimeZoneDataSpecified(Code)
True if javazic should generate a list of SimpleTimeZone instantiations for the SimpleTimeZone-based time zone support.




Constructor Detail
Zoneinfo
Zoneinfo()(Code)
Constracts a Zoneinfo.




Method Detail
add
void add(Zone zone)(Code)
Adds the given zone to the list of Zones.
Parameters:
  zone - Zone to be added to the list.



add
void add(Rule rule)(Code)
Adds the given rule to the list of Rules.
Parameters:
  rule - Rule to be added to the list.



getAliases
HashMap getAliases()(Code)
the alias table



getEndYear
static int getEndYear()(Code)
the end year value



getMaxYear
static int getMaxYear()(Code)
the maximum year value



getMinYear
static int getMinYear()(Code)
the minimum year value



getRule
Rule getRule(String name)(Code)
a Rule specified by name.
Parameters:
  name - a rule name



getStartYear
static int getStartYear()(Code)
the start year value



getZone
Zone getZone(String name)(Code)
a Zone specified by name.
Parameters:
  name - a zone name



getZoneIterator
Iterator getZoneIterator()(Code)
an interator of the Zone list



getZones
HashMap getZones()(Code)
the Zone list



parse
static Zoneinfo parse(String fname)(Code)
Parses the specified time zone data file and creates a Zoneinfo that has all Rules, Zones and Links (aliases) information.
Parameters:
  fname - the time zone data file name a Zoneinfo object



phase2
Timezone phase2(String zoneName)(Code)
Interprets a zone and constructs a Timezone object that contains enough information on GMT offsets and DST schedules to generate a zone info database.
Parameters:
  zoneName - the zone name for which a Timezone object isconstructed. a Timezone object that contains all GMT offsets and DSTrules information.



putAlias
void putAlias(String name1, String name2)(Code)
Puts the specifid name pair to the alias table.
Parameters:
  name1 - an alias time zone name
Parameters:
  name2 - the real time zone of the alias name



setEndYear
static void setEndYear(int year)(Code)
Sets the end year.
Parameters:
  year - the end year value
throws:
  IllegalArgumentException - if the specified year value issmaller than the start year or greater than the maximum year.



setStartYear
static void setStartYear(int year)(Code)
Sets the start year.
Parameters:
  year - the start year value
throws:
  IllegalArgumentException - if the specified year value issmaller than the minimum year or greater than the end year.



setYear
static void setYear(int year)(Code)
Sets the given year for SimpleTimeZone list output. This method is called when the -S option is specified.
Parameters:
  year - the year for which SimpleTimeZone list should be generated



Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.