public class

TestYears

extends TestCase
java.lang.Object
   ↳ TestCase
     ↳ org.joda.time.TestYears

Class Overview

This class is a Junit unit test for Years.

Summary

Public Constructors
TestYears(String name)
Public Methods
static void main(String[] args)
static TestSuite suite()
void testAddToLocalDate()
void testConstants()
void testDividedBy_int()
void testFactory_parseYears_String()
void testFactory_yearsBetween_RInstant()
void testFactory_yearsBetween_RPartial()
void testFactory_yearsIn_RInterval()
void testFactory_years_int()
void testGetFieldType()
void testGetMethods()
void testGetPeriodType()
void testIsGreaterThan()
void testIsLessThan()
void testMinus_Years()
void testMinus_int()
void testMultipliedBy_int()
void testNegated()
void testPlus_Years()
void testPlus_int()
void testSerialization()
void testToString()
Protected Methods
void setUp()
void tearDown()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TestYears (String name)

Public Methods

public static void main (String[] args)

public static TestSuite suite ()

public void testAddToLocalDate ()

public void testConstants ()

public void testDividedBy_int ()

public void testFactory_parseYears_String ()

public void testFactory_yearsBetween_RInstant ()

public void testFactory_yearsBetween_RPartial ()

public void testFactory_yearsIn_RInterval ()

public void testFactory_years_int ()

public void testGetFieldType ()

public void testGetMethods ()

public void testGetPeriodType ()

public void testIsGreaterThan ()

public void testIsLessThan ()

public void testMinus_Years ()

public void testMinus_int ()

public void testMultipliedBy_int ()

public void testNegated ()

public void testPlus_Years ()

public void testPlus_int ()

public void testSerialization ()

Throws
Exception

public void testToString ()

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Throws
Exception