DateTimeUnit { public TimeZone getTimeZone() { return timeZone; } DateTimeUnit( boolean iso8601 );  DateTimeUnit();  DateTimeUnit( DateTimeUnit dateTimeUnit );  DateTimeUnit( DateTimeUnit dateTimeUnit, boolean iso8601 );  DateTimeUnit( int year, int month, int day, boolean iso8601 );  DateTimeUnit( int year, int month, int day );  DateTimeUnit( int year, int month, int day, int dayOfWeek, boolean iso8601 );  DateTimeUnit( int year, int month, int day, int dayOfWeek ); void setDate( int year, int month, int day ); void setTime( int hour, int minute, int second, int millis ); int getYear(); void setYear( int year ); int getMonth(); void setMonth( int month ); int getDay(); void setDay( int day ); int getDayOfWeek(); void setDayOfWeek( int dayOfWeek ); boolean isIso8601(); int getHour(); void setHour( int hour ); int getMinute(); void setMinute( int minute ); int getSecond(); void setSecond( int second ); int getMillis(); void setMillis( int millis ); TimeZone getTimeZone(); void setTimeZone( TimeZone timeZone ); DateTimeUnit toUtc(); DateTime toJodaDateTime(); DateTime toJodaDateTime( Chronology chronology ); java.util.Calendar toJdkCalendar(); Date toJdkDate(); static DateTimeUnit fromJodaDateTime( DateTime dateTime ); static DateTimeUnit fromJodaDateTime( DateTime dateTime, boolean iso8601 ); static DateTimeUnit fromJdkCalendar( java.util.Calendar calendar ); static DateTimeUnit fromJdkDate( Date date ); @Override boolean equals( Object o ); @Override int hashCode(); @Override String toString();  }
@Test public void defaultTimeZoneTest() { assertEquals( TimeZone.getDefault(), new DateTimeUnit().getTimeZone() ); }