### Question:
TimePosition implements ITimePosition, Comparable<ITimePosition>, Serializable { private String getTimeZone() { return timeZone; } TimePosition(final String timePos); @Override long getYear(); @Override int getMonth(); @Override int getDay(); @Override int getHour(); @Override int getMinute(); @Override float getSecond(); @Deprecated ITimeResolution getTimeResolution(); @Override String toISO8601Format(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); @Override int compareTo(final ITimePosition timePosP); @Override int compare(final ITimePosition o1, final ITimePosition o2); @Override boolean before(final ITimePosition timePosP); @Override boolean after(final ITimePosition timePosP); @Override Calendar getCalendar(); @Override String getTimezone(); void setTimezone(final String timezone); static final String YEAR_PATTERN; static final String MONTH_PATTERN; static final String DAY_PATTERN; static final String HOUR_PATTERN; static final String MINUTE_PATTERN; static final String SECOND_PATTERN; static final String UTC_PATTERN; }### Answer:
@Test public void parseTimeZoneCorrectly() { TimePosition withoutOffset = new TimePosition("2014-03-30T02:05:20.000"); Assert.assertThat(withoutOffset.getTimezone(), Matchers.is("Z")); }