isSameYear function
Prepare v0.12.0