module unit.calendar.gregorian.dateformatter

class unit.calendar.gregorian.dateformatter.describe_new_date_formatter[source]

Bases: timelinelib.test.cases.unit.UnitTestCase

test_can_format_and_parse_date()[source]
test_can_format_and_parse_date_with_long_year()[source]
test_can_format_and_parse_bc_date()[source]
test_can_format_and_parse_using_different_separators()[source]
test_can_format_and_parse_with_different_ordering()[source]
test_can_format_and_parse_with_month_name()[source]
test_can_get_next_region()[source]
test_can_get_previous_region()[source]
test_can_get_region_type()[source]
test_can_get_region_type_for_different_order()[source]
test_can_get_region_type_for_abbreviated_month_name()[source]
test_fails_if_region_order_is_incorrect()[source]
test_fails_to_parse_if_date_is_invalid()[source]
test_fails_if_trying_to_set_empty_separators()[source]
assert_format_parse(parsed, formatted)[source]
assert_next_region_is(current_position, expected_region)[source]
assert_previous_region_is(current_position, expected_region)[source]
assert_region_type_is(current_position, expected_region_type)[source]
setUp()[source]

Hook method for setting up the test fixture before exercising it.