This is an example of a simile, a comparison between two things using the words "like" or "as." "Gloomy as the night" is the simile here, since his sadness is being compared to nighttime.
Try to find it here - bit(dot)ly/32TPpvU
<span>D.) rigid in her outlook and demeanor</span>