fault.defects

fractions
import

module
import

test_classes
function

test_classes(test)

test_select
function

test_select(test)

test_instants
function

test_instants(test)

test_ratios
function

test_ratios(test)

test_of_Measure
function

test_of_Measure(test)

test_of_months
function

test_of_months(test)

test_of_iso
function

test_of_iso(test)

test_of_iso_date
function

test_of_iso_date(test)

leap_samples
data

leap_samples = [
	(False, "1600-02-29T00:00:00.0"), # shouldnt wrap
	(True, "1601-02-29T00:00:00.0"), # should wrap
	(False, "1604-02-29T00:00:00.0"), # shouldn't wrap
	(True, "1700-02-29T00:00:00.0"), # should wrap
	(True, "1800-02-29T00:00:00.0"), # should wrap
	(True, "1900-02-29T00:00:00.0"), # should wrap
	(False, "2000-02-29T00:00:00.0"), # shouldn't wrap
]

test_of_leaps
function

test_of_leaps(test)

test_of_relative
function

test_of_relative(test)

test_date_contains
function

test_date_contains(test)

test_part_datetime
function

test_part_datetime(test)

test_relative_times
function

test_relative_times(test)

test_Timestamp_select
function

test_Timestamp_select(test)

test_Timestamp_update
function

test_Timestamp_update(test)

test_date
function

test_date(test)

test_truncate
function

test_truncate(test)

test_measure_method
function

test_measure_method(test)

test_rollback
function

test_rollback(test)

test_timeofday_select
function

test_timeofday_select(test)

test_align
function

test_align(test)

The most important use of alignment is for finding the n-th since the first or last of a month.

test_unix
function

test_unix(test)

test_hashing
function

test_hashing(test)

test_subseconds
function

test_subseconds(test)

test_Months_elapse
function

test_Months_elapse(test)

test_indefinite_comparisons
function

test_indefinite_comparisons(test)

test_indefinite_definite_comparisons
function

test_indefinite_definite_comparisons(test)

test_representations
function

test_representations(test)