11 my $cd = DBICTest::CD->retrieve(3);
12 is( ref($cd->year), 'DateTime', 'year is a DateTime, ok' );
14 is( $cd->year->month, 1, 'inflated month ok' );
17 my $now = DateTime->now;
21 ($cd) = DBICTest::CD->search( year => $now->year );
22 is( $cd->year, $now->year, 'deflate ok' );