hourglasses can measure time