def METHOD_NAME(self):
    dates = numpy.array(['2017-12-29', '2017-12-30', '2017-12-31',
                         '2018-01-01', '2018-01-02', '2018-01-03'],
                        dtype='datetime64[ns]')
    assert_equal(numpy.array([29, 30, 31, 1, 2, 3]),
                 calendar.day_of_month(dates))