public class

TestInstant_Basics

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

Class Overview

This class is a Junit unit test for Instant.

Summary

Public Constructors
TestInstant_Basics(String name)
Public Methods
static void main(String[] args)
static TestSuite suite()
void testCompareTo()
void testEqualsHashCode()
void testGetMethods()
void testGet_DateTimeField()
void testGet_DateTimeFieldType()
void testImmutable()
void testIsAfterNow()
void testIsAfter_RI()
void testIsAfter_long()
void testIsBeforeNow()
void testIsBefore_RI()
void testIsBefore_long()
void testIsEqualNow()
void testIsEqual_RI()
void testIsEqual_long()
void testMinus_RD()
void testMinus_long()
void testPlus_RD()
void testPlus_long()
void testSerialization()
void testTest()
void testToDate()
void testToDateTime()
void testToDateTimeISO()
void testToDateTime_Chronology()
void testToDateTime_DateTimeZone()
void testToInstant()
void testToMutableDateTime()
void testToMutableDateTimeISO()
void testToMutableDateTime_Chronology()
void testToMutableDateTime_DateTimeZone()
void testToString()
void testWithDurationAdded_RD_int()
void testWithDurationAdded_long_int()
void testWithMillis_long()
Protected Methods
void setUp()
void tearDown()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TestInstant_Basics (String name)

Public Methods

public static void main (String[] args)

public static TestSuite suite ()

public void testCompareTo ()

public void testEqualsHashCode ()

public void testGetMethods ()

public void testGet_DateTimeField ()

public void testGet_DateTimeFieldType ()

public void testImmutable ()

public void testIsAfterNow ()

public void testIsAfter_RI ()

public void testIsAfter_long ()

public void testIsBeforeNow ()

public void testIsBefore_RI ()

public void testIsBefore_long ()

public void testIsEqualNow ()

public void testIsEqual_RI ()

public void testIsEqual_long ()

public void testMinus_RD ()

public void testMinus_long ()

public void testPlus_RD ()

public void testPlus_long ()

public void testSerialization ()

Throws
Exception

public void testTest ()

public void testToDate ()

public void testToDateTime ()

public void testToDateTimeISO ()

public void testToDateTime_Chronology ()

public void testToDateTime_DateTimeZone ()

public void testToInstant ()

public void testToMutableDateTime ()

public void testToMutableDateTimeISO ()

public void testToMutableDateTime_Chronology ()

public void testToMutableDateTime_DateTimeZone ()

public void testToString ()

public void testWithDurationAdded_RD_int ()

public void testWithDurationAdded_long_int ()

public void testWithMillis_long ()

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Throws
Exception