Java Doc for CalendarRegression.java in  » Internationalization-Localization » icu4j » com » ibm » icu » dev » test » calendar » 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 » Internationalization Localization » icu4j » com.ibm.icu.dev.test.calendar 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.ibm.icu.dev.test.TestFmwk
   com.ibm.icu.dev.test.calendar.CalendarRegression

CalendarRegression
public class CalendarRegression extends com.ibm.icu.dev.test.TestFmwk (Code)


Field Summary
final static  String[]FIELD_NAME
    


Method Summary
public  voidTest4031502()
    
public  voidTest4035301()
    
public  voidTest4040996()
    
public  voidTest4051765()
    
public  voidTest4059654()
    
public  voidTest4061476()
    
public  voidTest4070502()
    
public  voidTest4071197()
    
public  voidTest4071385()
    
public  voidTest4073929()
    
public  voidTest4083167()
    
public  voidTest4086724()
    
public  voidTest4092362()
    
public  voidTest4095407()
    
public  voidTest4096231()
    
public  voidTest4096539()
    
public  voidTest4100311()
    
public  voidTest4103271()
    
public  voidTest4106136()
    
public  voidTest4108764()
    
public  voidTest4114578()
    
public  voidTest4118384()
     Make sure maximum for HOUR field is 11, not 12.
public  voidTest4125881()
     Check isLeapYear for BC years.
public  voidTest4125892()
     Prove that GregorianCalendar is proleptic (it used to cut off at 45 BC, and not have leap years before then).
public  voidTest4136399()
     Calendar and GregorianCalendar hashCode() methods need improvement.
public  voidTest4141665()
    
public  voidTest4142933()
     Bug states that ArrayIndexOutOfBoundsException is thrown by GregorianCalendar.roll() when IllegalArgumentException should be.
public  voidTest4145158()
     GregorianCalendar handling of Dates Long.MIN_VALUE and Long.MAX_VALUE is confusing; unless the time zone has a raw offset of zero, one or the other of these will wrap.
public  voidTest4145983()
     Maximum value for YEAR field wrong.
public  voidTest4147269()
     This is a bug in the validation code of GregorianCalendar.
public  voidTest4149677()
     Reported bug is that a GregorianCalendar with a cutover of Date(Long.MAX_VALUE) doesn't behave as a pure Julian calendar.
public  voidTest4162587()
     Calendar and Date HOUR broken.
public  voidTest4165343()
    
public  voidTest4166109()
     GregorianCalendar.getActualMaximum() does not account for first day of week.
public  voidTest4167060()
     Calendar.getActualMaximum(YEAR) works wrong.
public  voidTest4173516()
     Calendar.roll broken This bug relies on the TimeZone bug 4173604 to also be fixed.
public  voidTest4174361()
    
public  voidTest4177484()
     Calendar does not update field values when setTimeZone is called.
public  voidTest4197699()
     Week of year is wrong at the start and end of the year.
public  voidTest4209071()
     Calendar DAY_OF_WEEK_IN_MONTH fields->time broken.
public  voidTest4288792()
     WEEK_OF_YEAR computed incorrectly.
public  voidTestDateFormatFactoryJ26()
    
public  voidTestJ438()
     Test fieldDifference().
public  voidTestJ9()
     Set behavior of DST_OFFSET field.
public  voidTestRegistration()
    
 voiddowTest(boolean lenient)
    
public static  DategetAssociatedDate(Date d)
    
public static  voidmain(String[] args)
    

Field Detail
FIELD_NAME
final static String[] FIELD_NAME(Code)





Method Detail
Test4031502
public void Test4031502()(Code)



Test4035301
public void Test4035301()(Code)



Test4040996
public void Test4040996()(Code)



Test4051765
public void Test4051765()(Code)



Test4059654
public void Test4059654()(Code)



Test4061476
public void Test4061476()(Code)



Test4070502
public void Test4070502()(Code)



Test4071197
public void Test4071197()(Code)



Test4071385
public void Test4071385()(Code)



Test4073929
public void Test4073929()(Code)



Test4083167
public void Test4083167()(Code)



Test4086724
public void Test4086724()(Code)



Test4092362
public void Test4092362()(Code)



Test4095407
public void Test4095407()(Code)



Test4096231
public void Test4096231()(Code)



Test4096539
public void Test4096539()(Code)



Test4100311
public void Test4100311()(Code)



Test4103271
public void Test4103271()(Code)



Test4106136
public void Test4106136()(Code)



Test4108764
public void Test4108764()(Code)



Test4114578
public void Test4114578()(Code)



Test4118384
public void Test4118384()(Code)
Make sure maximum for HOUR field is 11, not 12.



Test4125881
public void Test4125881()(Code)
Check isLeapYear for BC years.



Test4125892
public void Test4125892()(Code)
Prove that GregorianCalendar is proleptic (it used to cut off at 45 BC, and not have leap years before then).



Test4136399
public void Test4136399()(Code)
Calendar and GregorianCalendar hashCode() methods need improvement. Calendar needs a good implementation that subclasses can override, and GregorianCalendar should use that implementation.



Test4141665
public void Test4141665()(Code)
GregorianCalendar.equals() ignores cutover date



Test4142933
public void Test4142933()(Code)
Bug states that ArrayIndexOutOfBoundsException is thrown by GregorianCalendar.roll() when IllegalArgumentException should be.



Test4145158
public void Test4145158()(Code)
GregorianCalendar handling of Dates Long.MIN_VALUE and Long.MAX_VALUE is confusing; unless the time zone has a raw offset of zero, one or the other of these will wrap. We've modified the test given in the bug report to therefore only check the behavior of a calendar with a zero raw offset zone.



Test4145983
public void Test4145983()(Code)
Maximum value for YEAR field wrong.



Test4147269
public void Test4147269()(Code)
This is a bug in the validation code of GregorianCalendar. As reported, the bug seems worse than it really is, due to a bug in the way the bug report test was written. In reality the bug is restricted to the DAY_OF_YEAR field. - liu 6/29/98



Test4149677
public void Test4149677()(Code)
Reported bug is that a GregorianCalendar with a cutover of Date(Long.MAX_VALUE) doesn't behave as a pure Julian calendar. CANNOT REPRODUCE THIS BUG



Test4162587
public void Test4162587()(Code)
Calendar and Date HOUR broken. If HOUR is out-of-range, Calendar and Date classes will misbehave.



Test4165343
public void Test4165343()(Code)
Adding 12 months behaves differently from adding 1 year



Test4166109
public void Test4166109()(Code)
GregorianCalendar.getActualMaximum() does not account for first day of week.



Test4167060
public void Test4167060()(Code)
Calendar.getActualMaximum(YEAR) works wrong.



Test4173516
public void Test4173516()(Code)
Calendar.roll broken This bug relies on the TimeZone bug 4173604 to also be fixed.



Test4174361
public void Test4174361()(Code)



Test4177484
public void Test4177484()(Code)
Calendar does not update field values when setTimeZone is called.



Test4197699
public void Test4197699()(Code)
Week of year is wrong at the start and end of the year.



Test4209071
public void Test4209071()(Code)
Calendar DAY_OF_WEEK_IN_MONTH fields->time broken. The problem is in the field disambiguation code in GregorianCalendar. This code is supposed to choose the most recent set of fields among the following: MONTH + DAY_OF_MONTH MONTH + WEEK_OF_MONTH + DAY_OF_WEEK MONTH + DAY_OF_WEEK_IN_MONTH + DAY_OF_WEEK DAY_OF_YEAR WEEK_OF_YEAR + DAY_OF_WEEK



Test4288792
public void Test4288792() throws Exception(Code)
WEEK_OF_YEAR computed incorrectly. A failure of this test can indicate a problem in several different places in the



TestDateFormatFactoryJ26
public void TestDateFormatFactoryJ26()(Code)
DateFormat class mistakes date style and time style as follows: - DateFormat.getDateTimeInstance takes date style as time style, and time style as date style - If a Calendar is passed to DateFormat.getDateInstance, it returns time instance - If a Calendar is passed to DateFormat.getTimeInstance, it returns date instance



TestJ438
public void TestJ438() throws Exception(Code)
Test fieldDifference().



TestJ9
public void TestJ9()(Code)
Set behavior of DST_OFFSET field. ICU4J Jitterbug 9.



TestRegistration
public void TestRegistration()(Code)



dowTest
void dowTest(boolean lenient)(Code)



getAssociatedDate
public static Date getAssociatedDate(Date d)(Code)
Get the associated date starting from a specified date NOTE: the unnecessary "getTime()'s" below are a work-around for a bug in jdk 1.1.3 (and probably earlier versions also)


Parameters:
  d - The date to start from




main
public static void main(String[] args) throws Exception(Code)



Fields inherited from com.ibm.icu.dev.test.TestFmwk
protected TestParams params(Code)(Java Doc)

Methods inherited from com.ibm.icu.dev.test.TestFmwk
protected boolean assertEquals(String message, boolean expected, boolean actual)(Code)(Java Doc)
protected boolean assertEquals(String message, long expected, long actual)(Code)(Java Doc)
protected boolean assertEquals(String message, float expected, float actual, double error)(Code)(Java Doc)
protected boolean assertEquals(String message, double expected, double actual, double error)(Code)(Java Doc)
protected boolean assertEquals(String message, Object expected, Object actual)(Code)(Java Doc)
protected boolean assertFalse(String message, boolean condition)(Code)(Java Doc)
protected boolean assertNotEquals(String message, Object expected, Object actual)(Code)(Java Doc)
protected boolean assertNotNull(String message, Object actual)(Code)(Java Doc)
protected boolean assertNotSame(String message, Object expected, Object actual)(Code)(Java Doc)
protected boolean assertNull(String message, Object actual)(Code)(Java Doc)
protected boolean assertSame(String message, Object expected, Object actual)(Code)(Java Doc)
protected boolean assertTrue(String message, boolean condition)(Code)(Java Doc)
protected int checkArray(String msg, String array, String expected)(Code)(Java Doc)
protected int checkArray(String msg, Locale array, String expected)(Code)(Java Doc)
protected int checkArray(String msg, ULocale array, String expected)(Code)(Java Doc)
protected Random createRandom()(Code)(Java Doc)
protected void fail(String message)(Code)(Java Doc)
protected static synchronized java.util.Date getDate(int year, int month, int dom)(Code)(Java Doc)
protected String getDescription()(Code)(Java Doc)
protected int getErrorCount()(Code)(Java Doc)
public PrintWriter getErrorLogPrintWriter()(Code)(Java Doc)
public int getInclusion()(Code)(Java Doc)
public PrintWriter getLogPrintWriter()(Code)(Java Doc)
protected String getMethodDescription(String name)(Code)(Java Doc)
protected TestFmwk getSubtest(String prefix) throws TestFmwkException(Code)(Java Doc)
protected Target getTargets(String targetName)(Code)(Java Doc)
public String getTranslitTestFilter()(Code)(Java Doc)
protected void handleException(Throwable e)(Code)(Java Doc)
public static String hex(char[] s)(Code)(Java Doc)
public static String hex(byte[] s)(Code)(Java Doc)
public static String hex(char ch)(Code)(Java Doc)
public static String hex(int ch)(Code)(Java Doc)
public static String hex(String s)(Code)(Java Doc)
public static String hex(StringBuffer s)(Code)(Java Doc)
protected void init() throws Exception(Code)(Java Doc)
public boolean isDateAtLeast(int year, int month, int day)(Code)(Java Doc)
public boolean isMemTracking()(Code)(Java Doc)
public boolean isModularBuild()(Code)(Java Doc)
public boolean isQuick()(Code)(Java Doc)
public boolean isTiming()(Code)(Java Doc)
public boolean isVerbose()(Code)(Java Doc)
public void msg(String message, int level, boolean incCount, boolean newln)(Code)(Java Doc)
public boolean noData()(Code)(Java Doc)
public static String prettify(String s)(Code)(Java Doc)
public static String prettify(StringBuffer s)(Code)(Java Doc)
public Target resolveTarget(TestParams params)(Code)(Java Doc)
public Target resolveTarget(TestParams params, String targetPath)(Code)(Java Doc)
public void run(String[] args)(Code)(Java Doc)
public int run(String[] args, PrintWriter log)(Code)(Java Doc)
public int runTests(TestParams params, String[] tests)(Code)(Java Doc)
protected TimeZone safeGetTimeZone(String id)(Code)(Java Doc)
public void usage()(Code)(Java Doc)
public static void usage(PrintWriter pw, String className)(Code)(Java Doc)
protected boolean validate()(Code)(Java Doc)
protected boolean validateMethod(String name)(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.