Diamond ring effect at the end of a total solar eclipse