class_docstr: Object representing a locale.
  
  After calling one of `load_translations` or `load_gettext_translations`,
  call `get` or `get_closest` to get a Locale object.
docstr: Formats the given date as a day of week.
  
  Example: "Monday, January 22". You can remove the day of week with
  ``dow=False``.
docstr_tok: ["Formats","the","given","date","as","a","day","of","week",".","Example",":","``","Monday",",","January","22","''",".","You","can","remove","the","day","of","week","with","``","dow=False","``","."]
code: def format_day(self, date, gmt_offset=0, dow=True):
      """Formats the given date as a day of week.
  
      Example: "Monday, January 22". You can remove the day of week with
      ``dow=False``.
      """
      local_date = date - datetime.timedelta(minutes=gmt_offset)
      _ = self.translate
      if dow:
          return _("%(weekday)s, %(month_name)s %(day)s") % {
              "month_name": self._months[local_date.month - 1],
              "weekday": self._weekdays[local_date.weekday()],
              "day": str(local_date.day),
          }
      else:
          return _("%(month_name)s %(day)s") % {
              "month_name": self._months[local_date.month - 1],
              "day": str(local_date.day),
          }
  
imports: from __future__ import absolute_import, division, print_function
  import codecs
  import csv
  import datetime
  from io import BytesIO
  import numbers
  import os
  import re
  from tornado import escape
  from tornado.log import gen_log
  from tornado.util import PY3
  from tornado._locale_data import LOCALE_NAMES
label_desc: Use image node_id 7 for calling the Locale obj's underlying member method code with example usage: obj.format_day(date, gmt_offset, dow) and returns: unknown, unknown