Use proper Utils modules.
Implement row-based period definition for time set