Implementation of Indian and Iranian calendars