| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -138,6 +138,14 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is | |||
| 138 | 138 | ||
| 139 | 139 | :class:`TextCalendar` instances have the following methods: | |
| 140 | 140 | ||
| 141 | + .. method:: formatweek(theweek, w=0) | ||
| 142 | + | ||
| 143 | + Return a single week in a string with no newline. If *w* is provided, it | ||
| 144 | + specifies the width of the date columns, which are centered. Depends | ||
| 145 | + on the first weekday as specified in the constructor or set by the | ||
| 146 | + :meth:`setfirstweekday` method. | ||
| 147 | + | ||
| 148 | + | ||
| 141 | 149 | .. method:: formatmonth(theyear, themonth, w=0, l=0) | |
| 142 | 150 | ||
| 143 | 151 | Return a month's calendar in a multi-line string. If *w* is provided, it | |
| Back | FazBrowse Home | New Git URL |
0 commit comments