Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/a/palpy-1.0/test_pal.py   palpy(Download)
    def test_cldj(self):
        d = pal.cldj( 1899, 12, 31 )
        self.assertEqual( d, 15019 )
        self.assertRaises( ValueError, pal.cldj, -5000, 12, 31 )
        self.assertRaises( ValueError, pal.cldj, 1970, 13, 1 )