public static Keyword weekday(Stella_Object thing) {
    if (Surrogate.subtypeOfStringP(Stella_Object.safePrimaryType(thing))) {
      { StringWrapper thing000 = ((StringWrapper)(thing));

        return (((Keyword)(((StringHashTable)(Stella.$WEEKDAY_STRINGS$.get())).lookup(thing000.wrapperValue))));
      }
    }
    else {
      return (null);
    }
  }