### Question:
PDTXMLConverter { @Nonnull public static XMLGregorianCalendar createNewCalendar () { return s_aDTFactory.newXMLGregorianCalendar (); } private  PDTXMLConverter(); static int getTimezoneOffsetInMinutes(final int nOffsetInMillis); static int getTimezoneOffsetInMinutes(@Nonnull final Calendar aCalendar); @Nonnull static GregorianCalendar getCalendar(@Nonnull final Date aDate); @Nonnull static GregorianCalendar getCalendarDefaultTimeZone(final long nMillis); @Nonnull static GregorianCalendar getCalendarUTC(final long nMillis); @Nonnull static XMLGregorianCalendar createNewCalendar(); @Nonnull static XMLGregorianCalendar getXMLCalendarDateNow(); @Nullable static XMLGregorianCalendar getXMLCalendarDate(@Nullable final LocalDate aBase); @Nullable static XMLGregorianCalendar getXMLCalendarDate(@Nullable final LocalDate aBase, final int nTimezoneOffsetInMinutes); @Nullable static XMLGregorianCalendar getXMLCalendarDate(@Nullable final Date aBase); @Nullable static XMLGregorianCalendar getXMLCalendarDate(@Nullable final GregorianCalendar aBase); @Nullable static XMLGregorianCalendar getXMLCalendarDate(@Nullable final XMLGregorianCalendar aBase); @Nonnull static XMLGregorianCalendar getXMLCalendarDate(final int nYear, final int nMonth, final int nDay); @Nonnull static XMLGregorianCalendar getXMLCalendarDate(final int nYear, final int nMonth, final int nDay, final int nTimezone); @Nonnull static XMLGregorianCalendar getXMLCalendarTimeNow(); @Nullable static XMLGregorianCalendar getXMLCalendarTime(@Nullable final LocalTime aBase); @Nullable static XMLGregorianCalendar getXMLCalendarTime(@Nullable final Date aBase); @Nullable static XMLGregorianCalendar getXMLCalendarTime(@Nullable final GregorianCalendar aBase); @Nullable static XMLGregorianCalendar getXMLCalendarTime(@Nullable final XMLGregorianCalendar aBase); @Nonnull static XMLGregorianCalendar getXMLCalendarTime(final int nHour, final int nMinute, final int nSecond, final int nMilliSecond); @Nonnull static XMLGregorianCalendar getXMLCalendarTime(final int nHour,
                                                         final int nMinute,
                                                         final int nSecond,
                                                         final int nMilliSecond,
                                                         final int nTimezone); @Nonnull static XMLGregorianCalendar getXMLCalendarNow(); @Nonnull static XMLGregorianCalendar getXMLCalendarNowUTC(); @Nullable static XMLGregorianCalendar getXMLCalendar(@Nullable final LocalDateTime aBase); @Nullable static XMLGregorianCalendar getXMLCalendar(@Nullable final ZonedDateTime aBase); @Nullable static XMLGregorianCalendar getXMLCalendar(@Nullable final GregorianCalendar aCal); @Nullable static XMLGregorianCalendar getXMLCalendar(@Nullable final XMLGregorianCalendar aDate, @Nullable final XMLGregorianCalendar aTime); @Nonnull static XMLGregorianCalendar getXMLCalendar(final long nMillis); @Nonnull static XMLGregorianCalendar getXMLCalendarUTC(final long nMillis); @Nullable static XMLGregorianCalendar getXMLCalendar(@Nullable final Date aDate); @Nullable static GregorianCalendar getGregorianCalendar(@Nullable final XMLGregorianCalendar aCal); @Nullable static LocalDate getLocalDate(@Nullable final XMLGregorianCalendar aCal); @Nullable static LocalTime getLocalTime(@Nullable final XMLGregorianCalendar aCal); @Nullable static LocalDateTime getLocalDateTime(@Nullable final XMLGregorianCalendar aCal); @Nullable static ZonedDateTime getZonedDateTime(@Nullable final XMLGregorianCalendar aCal); @Nullable static Date getDate(@Nullable final XMLGregorianCalendar aCal); @CheckForSigned static long getMillis(@Nullable final XMLGregorianCalendar aCal);  }### Answer:
@Test public void testCreateNewCalendar () { final XMLGregorianCalendar c1 = PDTXMLConverter.createNewCalendar (); assertNotNull (c1); final XMLGregorianCalendar c2 = PDTXMLConverter.createNewCalendar (); assertNotNull (c2); assertNotSame (c1, c2); assertEquals (c1, c2); }