Class OBDateUtilsTest

    • Constructor Detail

      • OBDateUtilsTest

        public OBDateUtilsTest()
    • Method Detail

      • truncateTimeInDate

        public void truncateTimeInDate()
                                throws ParseException
        Test truncate method without specified unit.
        Throws:
        ParseException
      • truncateMinutesInDate

        public void truncateMinutesInDate()
                                   throws ParseException
        Test truncate method wit specified unit.
        Throws:
        ParseException
      • convertServerDateToTimezoneProvidedByOrganization

        public void convertServerDateToTimezoneProvidedByOrganization()
      • convertServerDateToDefinedTimezone

        public void convertServerDateToDefinedTimezone()
      • dateConverterWillReturnNullIfTheTimezoneDoesNotExist

        public void dateConverterWillReturnNullIfTheTimezoneDoesNotExist()
      • zonedDateTimeIsProperlyFormatted

        public void zonedDateTimeIsProperlyFormatted()
      • convertServerDateToTimeWillReturnNullWhenTimezoneIsNotAvailable

        public void convertServerDateToTimeWillReturnNullWhenTimezoneIsNotAvailable()
      • formatZonedDateTimeWillReturnEmptyStringWhenDateIsNull

        public void formatZonedDateTimeWillReturnEmptyStringWhenDateIsNull()