It is correct in the right context, when an occasion on which you went swimming this year has been mentioned. However, you have not used the correct apostrophe character in "wasn't". You have actually used an acute accent.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.