Java Doc for IBMCalendarTest.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.calendar.CalendarTest
   com.ibm.icu.dev.test.calendar.IBMCalendarTest

IBMCalendarTest
public class IBMCalendarTest extends CalendarTest (Code)




Method Summary
public  voidTestBuddhist()
     Verify that BuddhistCalendar shifts years to Buddhist Era but otherwise behaves like GregorianCalendar.
public  voidTestBuddhistCoverage()
    
public  voidTestComparable()
    
public  voidTestCoverage()
     Miscellaneous tests to increase coverage.
public  voidTestGregorianLimits()
     Test limits of the Gregorian calendar.
public  voidTestJB1684()
    
public  voidTestJB4541()
    
public  voidTestJapanese()
     Verify that JapaneseCalendar shifts years to Buddhist Era but otherwise behaves like GregorianCalendar.
public  voidTestLeapFieldDifference()
     Test behavior of fieldDifference around leap years.
public  voidTestMalaysianInstance()
     Test ms_MY "Malay (Malaysia)" locale.
public  voidTestTimeZoneTransitionAdd()
     Make sure that when adding a day, we actually wind up in a different day.
public  voidTestWeekShift()
     setFirstDayOfWeek and setMinimalDaysInFirstWeek may change the field <=> time mapping, since they affect the interpretation of the WEEK_OF_MONTH or WEEK_OF_YEAR fields.
public  voidTestWeekend()
     Test weekend support in IBMCalendar. NOTE: This test will have to be updated when the isWeekend() etc. API is finalized later. In particular, the test will have to be rewritten to instantiate a Calendar in the given locale (using getInstance()) and call that Calendar's isWeekend() etc.
public  voidTestZoneMeta()
     Test the ZoneMeta API.
public static  voidmain(String[] args)
    
 voidquasiGregorianTest(Calendar cal, int[] data)
     Run a test of a quasi-Gregorian calendar.



Method Detail
TestBuddhist
public void TestBuddhist()(Code)
Verify that BuddhistCalendar shifts years to Buddhist Era but otherwise behaves like GregorianCalendar.



TestBuddhistCoverage
public void TestBuddhistCoverage()(Code)



TestComparable
public void TestComparable()(Code)



TestCoverage
public void TestCoverage()(Code)
Miscellaneous tests to increase coverage.



TestGregorianLimits
public void TestGregorianLimits()(Code)
Test limits of the Gregorian calendar.



TestJB1684
public void TestJB1684()(Code)



TestJB4541
public void TestJB4541()(Code)



TestJapanese
public void TestJapanese()(Code)
Verify that JapaneseCalendar shifts years to Buddhist Era but otherwise behaves like GregorianCalendar.



TestLeapFieldDifference
public void TestLeapFieldDifference()(Code)
Test behavior of fieldDifference around leap years. Also test a large field difference to check binary search.



TestMalaysianInstance
public void TestMalaysianInstance()(Code)
Test ms_MY "Malay (Malaysia)" locale. Bug 1543.



TestTimeZoneTransitionAdd
public void TestTimeZoneTransitionAdd()(Code)
Make sure that when adding a day, we actually wind up in a different day. The DST adjustments we use to keep the hour constant across DST changes can backfire and change the day.



TestWeekShift
public void TestWeekShift()(Code)
setFirstDayOfWeek and setMinimalDaysInFirstWeek may change the field <=> time mapping, since they affect the interpretation of the WEEK_OF_MONTH or WEEK_OF_YEAR fields.



TestWeekend
public void TestWeekend()(Code)
Test weekend support in IBMCalendar. NOTE: This test will have to be updated when the isWeekend() etc. API is finalized later. In particular, the test will have to be rewritten to instantiate a Calendar in the given locale (using getInstance()) and call that Calendar's isWeekend() etc. methods.



TestZoneMeta
public void TestZoneMeta()(Code)
Test the ZoneMeta API.



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



quasiGregorianTest
void quasiGregorianTest(Calendar cal, int[] data)(Code)
Run a test of a quasi-Gregorian calendar. This is a calendar that behaves like a Gregorian but has different year/era mappings. The int[] data array should have the format: { era, year, gregorianYear, month, dayOfMonth, ... }



Fields inherited from com.ibm.icu.dev.test.calendar.CalendarTest
final public static boolean ADD(Code)(Java Doc)
final public static int DATE(Code)(Java Doc)
final static double DAY_MS(Code)(Java Doc)
final public static int DOW(Code)(Java Doc)
final public static int DOWM(Code)(Java Doc)
final public static int DOY(Code)(Java Doc)
final public static int ERA(Code)(Java Doc)
final public static int FRI(Code)(Java Doc)
final public static int HOUR(Code)(Java Doc)
final static long JULIAN_EPOCH(Code)(Java Doc)
final public static int MINUTE(Code)(Java Doc)
final public static int MON(Code)(Java Doc)
final public static int MONTH(Code)(Java Doc)
final public static boolean ROLL(Code)(Java Doc)
final public static int SAT(Code)(Java Doc)
final public static int SECOND(Code)(Java Doc)
final public static int SUN(Code)(Java Doc)
final public static int THU(Code)(Java Doc)
final public static int TUE(Code)(Java Doc)
final public static SimpleTimeZone UTC(Code)(Java Doc)
final public static int WED(Code)(Java Doc)
final public static int WOM(Code)(Java Doc)
final public static int WOY(Code)(Java Doc)
final public static int YEAR(Code)(Java Doc)

Methods inherited from com.ibm.icu.dev.test.calendar.CalendarTest
protected void doLimitsTest(Calendar cal, int[] fieldsToTest, Date startDate, int testDuration)(Code)(Java Doc)
public void doRollAdd(boolean roll, Calendar cal, int[][] tests)(Code)(Java Doc)
public void doTestCases(TestCase[] cases, Calendar cal)(Code)(Java Doc)
final public static String fieldName(int f)(Code)(Java Doc)
static double getJulianDay(Calendar cal)(Code)(Java Doc)
public static String ymdToString(int year, int month, int day)(Code)(Java Doc)
public static String ymdToString(Calendar cal)(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.