calendar-month-edges

calendar-month-edges is a compiled Lisp function in `calendar.el'.

(calendar-month-edges SEGMENT)

Compute the month edge columns for month SEGMENT.
Returns a list (LEFT FIRST LAST RIGHT), where LEFT is the
leftmost column associated with a month, FIRST and LAST are the
first and last columns with day digits in, and LAST is the
rightmost column.