'Parse the time strings contained in val1 and set jd1, jd2'

def set_jds(self, val1, val2):

    subfmts = self._select_subfmts(self.in_subfmt)
    iterator = np.nditer([val1, None, None, None, None, None, None], op_dtypes=(([val1.dtype] + (5 * [np.intc])) + [np.double]))
    for (val, iy, im, id, ihr, imin, dsec) in iterator:
        (iy[...], im[...], id[...], ihr[...], imin[...], dsec[...]) = self.parse_string(val.item(), subfmts)
    (self.jd1, self.jd2) = erfa.dtf2d(self.scale.upper().encode(u'ascii'), *iterator.operands[1:])
