typo fix
typo + fix for december in get month period
separate method to get partition
doc update