When the national capital was moved during the Zhou dynasty (1121-249 BC) to Luoyi (modern-day Luoyang), the Duke of Zhou built a device there to help determine the seasons and the directions.
周代遷都洛邑，周公蓋新都城，就設置測日的土圭石表，以定出節氣、方位。