Java Doc for SpreadsheetDateTests.java in » Graphic-Library » jcommon-components » org » jfree » date » junit » 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
»
Graphic Library
»
jcommon components
»
org.jfree.date.junit
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.jfree.date.junit
.SpreadsheetDateTests
SpreadsheetDateTests
public
class SpreadsheetDateTests extends TestCase
(Code)
Tests for the
SpreadsheetDate
class.
Constructor Summary
public
SpreadsheetDateTests
(
String
name)
Creates a new test case.
Method Summary
protected
void
setUp
()
Setup.
public
static Test
suite
()
Returns a test suite for the JUnit test runner.
public
void
test01Feb2000ToSerial
()
Create a date for 01-Feb-2000: the serial number should be 36557.
public
void
test01Jan1900ToSerial
()
Create a date for 01-Jan-1900: the serial number should be 2.
public
void
test01Jan2000ToSerial
()
Create a date for 1-Jan-2000: the serial number should be 36526.
public
void
test01Mar1900ToSerial
()
Create a date for 01-Mar-1900: the serial number should be 61.
public
void
test12Nov2001GetDayOfWeek
()
12 November 2001 is a Monday.
public
void
test1Jan1900GetDayOfWeek
()
1 January 1900 is a Thursday.
public
void
test1mar2000ToSerial
()
Create a date for 1-Mar-2000: the serial number should be 36586.
public
void
test28Feb1900ToSerial
()
Create a date for 28-Feb-1900: the serial number should be 60.
public
void
test28Feb2000ToSerial
()
Create a date for 28-Feb-2000: the serial number should be 36584.
public
void
test29feb2000ToSerial
()
Create a date for 29-Feb-2000: the serial number should be 36585.
public
void
test31Dec1999ToSerial
()
Create a date for 31-Dec-1999: the serial number should be 36525.
public
void
test31Jan2000ToSerial
()
Create a date for 31-Jan-2000: the serial number should be 36556.
public
void
test36584
()
Create a date for serial number 36584: it should be 28-Feb-2000.
public
void
test36585
()
Create a date for serial number 36585: it should be 29-Feb-2000.
public
void
test36586
()
Create a date for serial number 36586: it should be 1-Mar-2000.
public
void
test37986
()
Day 37986 is 31 Dec 2003.
public
void
test37987
()
Day 37987 is 1 Jan 2004.
public
void
test38352
()
Day 38352 is 31 Dec 2004.
public
void
test38353
()
Day 38353 is 1 Jan 2005.
public
void
testGetDescription
()
Some checks for the getDescription() method.
public
void
testS2GetDayOfMonth
()
Day 2 is the first of the month.
public
void
testS2GetMonth
()
Day 2 is in January.
public
void
testS2GetYYYY
()
Day 2 is in 1900.
public
void
testSerialization
()
Serialize an instance, restore it, and check for equality.
public
void
testSetDescription
()
Some checks for the setDescription() method.
Constructor Detail
SpreadsheetDateTests
public
SpreadsheetDateTests(
String
name)
(Code)
Creates a new test case.
Parameters:
name - the name.
Method Detail
setUp
protected
void setUp()
(Code)
Setup.
suite
public
static Test suite()
(Code)
Returns a test suite for the JUnit test runner. the test suite.
test01Feb2000ToSerial
public
void test01Feb2000ToSerial()
(Code)
Create a date for 01-Feb-2000: the serial number should be 36557.
test01Jan1900ToSerial
public
void test01Jan1900ToSerial()
(Code)
Create a date for 01-Jan-1900: the serial number should be 2.
test01Jan2000ToSerial
public
void test01Jan2000ToSerial()
(Code)
Create a date for 1-Jan-2000: the serial number should be 36526.
test01Mar1900ToSerial
public
void test01Mar1900ToSerial()
(Code)
Create a date for 01-Mar-1900: the serial number should be 61.
test12Nov2001GetDayOfWeek
public
void test12Nov2001GetDayOfWeek()
(Code)
12 November 2001 is a Monday.
test1Jan1900GetDayOfWeek
public
void test1Jan1900GetDayOfWeek()
(Code)
1 January 1900 is a Thursday.
test1mar2000ToSerial
public
void test1mar2000ToSerial()
(Code)
Create a date for 1-Mar-2000: the serial number should be 36586.
test28Feb1900ToSerial
public
void test28Feb1900ToSerial()
(Code)
Create a date for 28-Feb-1900: the serial number should be 60.
test28Feb2000ToSerial
public
void test28Feb2000ToSerial()
(Code)
Create a date for 28-Feb-2000: the serial number should be 36584.
test29feb2000ToSerial
public
void test29feb2000ToSerial()
(Code)
Create a date for 29-Feb-2000: the serial number should be 36585.
test31Dec1999ToSerial
public
void test31Dec1999ToSerial()
(Code)
Create a date for 31-Dec-1999: the serial number should be 36525.
test31Jan2000ToSerial
public
void test31Jan2000ToSerial()
(Code)
Create a date for 31-Jan-2000: the serial number should be 36556.
test36584
public
void test36584()
(Code)
Create a date for serial number 36584: it should be 28-Feb-2000.
test36585
public
void test36585()
(Code)
Create a date for serial number 36585: it should be 29-Feb-2000.
test36586
public
void test36586()
(Code)
Create a date for serial number 36586: it should be 1-Mar-2000.
test37986
public
void test37986()
(Code)
Day 37986 is 31 Dec 2003.
test37987
public
void test37987()
(Code)
Day 37987 is 1 Jan 2004.
test38352
public
void test38352()
(Code)
Day 38352 is 31 Dec 2004.
test38353
public
void test38353()
(Code)
Day 38353 is 1 Jan 2005.
testGetDescription
public
void testGetDescription()
(Code)
Some checks for the getDescription() method.
testS2GetDayOfMonth
public
void testS2GetDayOfMonth()
(Code)
Day 2 is the first of the month.
testS2GetMonth
public
void testS2GetMonth()
(Code)
Day 2 is in January.
testS2GetYYYY
public
void testS2GetYYYY()
(Code)
Day 2 is in 1900.
testSerialization
public
void testSerialization()
(Code)
Serialize an instance, restore it, and check for equality.
testSetDescription
public
void testSetDescription()
(Code)
Some checks for the setDescription() method.
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.