How would you feel if your partner told you..

If your partner told you the day you announced to him you were pregnant with your March baby, he had plans to tell you he felt the relationship wasn't working and he wasn't happy, but he stayed and kept quiet about it since you were pregnant. How would you feel?