单项选择题

What does a sundial measure according to the passage()

A.It measures the length of a day and a night.
B.it measures the movement of the sun each day.
C.It measures the passing of hours, minutes and perhaps seconds.
D.It measures the shadow of the stick across the flat surface of the sundial.