The periods of the generalized Jacobian of a complex elliptic curve