{"author_name":"sumim","height":"190","description":"ruby-talk:271046 - Finding the last Sunday of a month \u3088\u308a\u3002\u305f\u3060\u3057\u3001\u3082\u3061\u308d\u3093 Ruby \u3067\u306f\u306a\u304f\u3066 Squeak Smalltalk \u3067(^_^;)\u3002 \u6700\u521d\u306b\u8003\u3048\u305f\u306e\u306f\u3001\u3053\u3093\u306a\u304b\u3093\u3058\u306e\u3002 | thisJan | thisJan := Month month: #Jan year: Date today year. thisJan dates reverse detect: [:date | date weekday = #Sunday] #detectLast: \u307f\u305f\u3044\u306a\u306e\u304c\u306a\u3044\u306e\u3067 reverse \u3057\u306a\u3044\u3068\u3044\u304b\u3093\u306e\u304c\u75db\u3044\u3002\u65e5\u4ed8\u3060\u3051\u6574\u6570\u3067\u8fd4\u2026","blog_url":"https://sumim.hatenablog.com/","width":"100%","categories":["OOPL"],"image_url":null,"url":"https://sumim.hatenablog.com/entry/20070927/p1","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsumim.hatenablog.com%2Fentry%2F20070927%2Fp1\" title=\" \u4eca\u5e74\uff11\u6708\u306e\u6700\u5f8c\u306e\u65e5\u66dc\u65e5\u306f\uff1f - Smalltalk\u306et\u306f\u5c0f\u6587\u5b57\u3067\u3059\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","published":"2007-09-27 00:00:00","type":"rich","blog_title":"Smalltalk\u306et\u306f\u5c0f\u6587\u5b57\u3067\u3059","author_url":"https://blog.hatena.ne.jp/sumim/","version":"1.0","title":" \u4eca\u5e74\uff11\u6708\u306e\u6700\u5f8c\u306e\u65e5\u66dc\u65e5\u306f\uff1f"}