Something worth mentioning is that those around you aren't within your control
. They have their own minds.
If someone else is cranky, take a step back and re-focus on your own serenity. It's a challenge, certainly, but their bad mood doesn't have to mean you lose your center. Develop coping methods to help you buffer from that.