{"id":401,"date":"2007-09-13T09:07:31","date_gmt":"2007-09-13T07:07:31","guid":{"rendered":"http:\/\/blog.marudina.net\/?p=401"},"modified":"2007-09-13T09:08:12","modified_gmt":"2007-09-13T07:08:12","slug":"%d0%a7%d0%b5%d1%81%d1%82%d0%b8%d1%82-%d0%bf%d1%80%d0%b0%d0%b7%d0%bd%d0%b8%d0%ba","status":"publish","type":"post","link":"https:\/\/blog.marudina.net\/?p=401","title":{"rendered":"?????? ???????"},"content":{"rendered":"<p><code>import java.text.DateFormat;<br \/>\nimport java.text.SimpleDateFormat;<br \/>\nimport java.util.Calendar;<br \/>\nimport java.util.Date;<br \/>\npublic class ProgrammersDay {<br \/>\n\tpublic static int PROGRAMMERS_DAY_OF_YEAR = 256;<br \/>\n\tpublic static void main(String[] args) {<br \/>\n\t\tCalendar calendar = Calendar.getInstance();<br \/>\n\t\tcalendar.set(Calendar.YEAR, calendar.get(Calendar.YEAR));<br \/>\n\t\tcalendar.set(Calendar.DAY_OF_YEAR, PROGRAMMERS_DAY_OF_YEAR);<br \/>\n\t\tDate programmersDay = calendar.getTime();<br \/>\n\t\tDateFormat formatter = new SimpleDateFormat(\"dd\/MM\/yyyy\");<br \/>\n\t\tSystem.out.println(\"Programmer's Day this in the current year is at : \" + formatter.format(programmersDay));<br \/>\n\t}<br \/>\n}<\/code><\/p>\n<p>??????????? ?, ?? ???? ???? ?????? ??? Wikipedia ?? ?????? &#8211; ??????? ? <a href=\"http:\/\/en.wikipedia.org\/wiki\/Talk:Programmer%27s_Day\">???? ?????<\/a>. ?? ????? ?? ?????? ?? ????????? ????? ? ?????? ??? :<\/p>\n<blockquote><p>&#8220;Programmer&#8217;s day is a &#8220;holiday&#8221; on the 256th day of the year celebrated mostly by computer programmers (reason: 256 = 2 to the power of 8 = the number of values representable in a byte of data).<br \/>\nTraditions include drinking, behaving silly, coding silly programs, mini computer games, playing with old computers, etc. That, of course, includes the condition that the developer who chooses to celebrate, needs to have done decent coding on all the other days and had tried the best not to behave silly on the other days. For those programmers who are used to the &#8216;celebrations&#8217; in their every day lives, this &#8216;holiday&#8217; becomes unjustified!<br \/>\nProgrammer&#8217;s day usually falls on September 13th; on leap years, it is September 12th.&#8221;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class ProgrammersDay { public static int PROGRAMMERS_DAY_OF_YEAR = 256; public static void main(String[] args) { Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.YEAR, calendar.get(Calendar.YEAR)); calendar.set(Calendar.DAY_OF_YEAR, PROGRAMMERS_DAY_OF_YEAR); Date programmersDay = calendar.getTime(); DateFormat formatter = new SimpleDateFormat(&#8220;dd\/MM\/yyyy&#8221;); System.out.println(&#8220;Programmer&#8217;s Day this in the current year is at : &#8221; + formatter.format(programmersDay)); } [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.marudina.net\/index.php?rest_route=\/wp\/v2\/posts\/401"}],"collection":[{"href":"https:\/\/blog.marudina.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.marudina.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.marudina.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.marudina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=401"}],"version-history":[{"count":0,"href":"https:\/\/blog.marudina.net\/index.php?rest_route=\/wp\/v2\/posts\/401\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.marudina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.marudina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.marudina.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}