Java Doc for ChineseTest.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.ChineseTest

ChineseTest
public class ChineseTest extends CalendarTest (Code)
Test of ChineseCalendar. Leap months in this century: Wed May 23 2001 = 4638-04*-01, Year 18, Cycle 78 Sun Mar 21 2004 = 4641-02*-01, Year 21, Cycle 78 Thu Aug 24 2006 = 4643-07*-01, Year 23, Cycle 78 Tue Jun 23 2009 = 4646-05*-01, Year 26, Cycle 78 Mon May 21 2012 = 4649-04*-01, Year 29, Cycle 78 Fri Oct 24 2014 = 4651-09*-01, Year 31, Cycle 78 Sun Jul 23 2017 = 4654-06*-01, Year 34, Cycle 78 Sat May 23 2020 = 4657-04*-01, Year 37, Cycle 78 Wed Mar 22 2023 = 4660-02*-01, Year 40, Cycle 78 Fri Jul 25 2025 = 4662-06*-01, Year 42, Cycle 78 Fri Jun 23 2028 = 4665-05*-01, Year 45, Cycle 78 Tue Apr 22 2031 = 4668-03*-01, Year 48, Cycle 78 Thu Dec 22 2033 = 4670-11*-01, Year 50, Cycle 78 Wed Jul 23 2036 = 4673-06*-01, Year 53, Cycle 78 Wed Jun 22 2039 = 4676-05*-01, Year 56, Cycle 78 Sat Mar 22 2042 = 4679-02*-01, Year 59, Cycle 78 Tue Aug 23 2044 = 4681-07*-01, Year 01, Cycle 79 Sun Jun 23 2047 = 4684-05*-01, Year 04, Cycle 79 Thu Apr 21 2050 = 4687-03*-01, Year 07, Cycle 79 Mon Sep 23 2052 = 4689-08*-01, Year 09, Cycle 79 Sat Jul 24 2055 = 4692-06*-01, Year 12, Cycle 79 Wed May 22 2058 = 4695-04*-01, Year 15, Cycle 79 Wed Apr 20 2061 = 4698-03*-01, Year 18, Cycle 79 Fri Aug 24 2063 = 4700-07*-01, Year 20, Cycle 79 Wed Jun 23 2066 = 4703-05*-01, Year 23, Cycle 79 Tue May 21 2069 = 4706-04*-01, Year 26, Cycle 79 Thu Sep 24 2071 = 4708-08*-01, Year 28, Cycle 79 Tue Jul 24 2074 = 4711-06*-01, Year 31, Cycle 79 Sat May 22 2077 = 4714-04*-01, Year 34, Cycle 79 Sat Apr 20 2080 = 4717-03*-01, Year 37, Cycle 79 Mon Aug 24 2082 = 4719-07*-01, Year 39, Cycle 79 Fri Jun 22 2085 = 4722-05*-01, Year 42, Cycle 79 Fri May 21 2088 = 4725-04*-01, Year 45, Cycle 79 Sun Sep 24 2090 = 4727-08*-01, Year 47, Cycle 79 Thu Jul 23 2093 = 4730-06*-01, Year 50, Cycle 79 Tue May 22 2096 = 4733-04*-01, Year 53, Cycle 79 Sun Mar 22 2099 = 4736-02*-01, Year 56, Cycle 79




Method Summary
public  voidTestAdd()
     Test the behavior of ChineseCalendar.add().
public  voidTestCoverage()
    
public  voidTestFormat()
     Test formatting.
public  voidTestInitWithCurrentTime()
    
public  voidTestJulianDayMapping()
     Run through several standard tests from Dershowitz & Reingold.
public  voidTestLimits()
     Test minimum and maximum functions.
public  voidTestMapping()
     Test basic mapping to and from Gregorian.
public  voidTestOutOfRange()
     Test the behavior of fields that are out of range.
public  voidTestResolution()
     Make sure IS_LEAP_MONTH participates in field resolution.
public  voidTestRoll()
     Test the behavior of ChineseCalendar.roll().
public  voidTestScratch()
    
public  voidTestZeroDOM()
     Make sure no Gregorian dates map to Chinese 1-based day of month zero.
 voiddoRollAdd(boolean roll, ChineseCalendar cal, int[][] tests)
    
public static  voidmain(String args)
    
public static  StringymdToString(int year, int month, int isLeapMonth, int day)
     Convert year,month,day values to the form "year/month/day".



Method Detail
TestAdd
public void TestAdd()(Code)
Test the behavior of ChineseCalendar.add(). The only real nastiness with roll is the MONTH field around leap months.



TestCoverage
public void TestCoverage()(Code)



TestFormat
public void TestFormat()(Code)
Test formatting.



TestInitWithCurrentTime
public void TestInitWithCurrentTime()(Code)



TestJulianDayMapping
public void TestJulianDayMapping()(Code)
Run through several standard tests from Dershowitz & Reingold.



TestLimits
public void TestLimits()(Code)
Test minimum and maximum functions.



TestMapping
public void TestMapping()(Code)
Test basic mapping to and from Gregorian.



TestOutOfRange
public void TestOutOfRange()(Code)
Test the behavior of fields that are out of range.



TestResolution
public void TestResolution()(Code)
Make sure IS_LEAP_MONTH participates in field resolution.



TestRoll
public void TestRoll()(Code)
Test the behavior of ChineseCalendar.roll(). The only real nastiness with roll is the MONTH field around leap months.



TestScratch
public void TestScratch()(Code)



TestZeroDOM
public void TestZeroDOM()(Code)
Make sure no Gregorian dates map to Chinese 1-based day of month zero. This was a problem with some of the astronomical new moon determinations.



doRollAdd
void doRollAdd(boolean roll, ChineseCalendar cal, int[][] tests)(Code)



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



ymdToString
public static String ymdToString(int year, int month, int isLeapMonth, int day)(Code)
Convert year,month,day values to the form "year/month/day". On input the month value is zero-based, but in the result string it is one-based.



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.