{"id":17160388,"date":"2008-02-08T15:31:00","date_gmt":"2008-02-08T15:31:00","guid":{"rendered":"http:\/\/su.blog.bunty.tv\/2008\/02\/08\/Tom-Braun-DateTime-Fiction-JRRTolkien-Shire-0-02-search-cpan-org\/"},"modified":"2009-02-12T10:18:22","modified_gmt":"2009-02-12T10:18:22","slug":"Tom-Braun-DateTime-Fiction-JRRTolkien-Shire-0-02-search-cpan-org","status":"publish","type":"post","link":"http:\/\/su.blog.bunty.tv\/?p=17160388","title":{"rendered":"Tom Braun \/ DateTime-Fiction-JRRTolkien-Shire-0.02 &#8211; search.cpan.org"},"content":{"rendered":"<div class='sustuff'>Stumbleupon Review of : <a href='http:\/\/search.cpan.org\/~tbraun\/DateTime-Fiction-JRRTolkien-Shire-0.02\/'>http:\/\/search.cpan.org\/~tbraun\/DateTime-Fiction-JRRTolkien-Shire-0.02\/<\/a><a href='http:\/\/www.stumbleupon.com\/click_redir.php?t=4993bddea33c5&#038;src=blog&#038;u=http%3A%2F%2Fsearch.cpan.org%2F%7Etbraun%2FDateTime-Fiction-JRRTolkien-Shire-0.02%2F'><img src='http:\/\/bunty.tv\/images\/smallstumble.png'><\/a><\/div>\n<p>This is an essential bit of kit if you want your perl applications to run properly in Middle Earth.<\/p>\n<p>\n<b>Example usage:<\/b><\/p>\n<ul style=\"font-family: 'Lucida Console', System; width : 620px; margin : 10px auto; padding : 15px; color : skyblue; text-align : justify; background : #2a2a2a; border : 1px solid #666; white-space : pre;\">use DateTime::Fiction::JRRTolkien::Shire;<\/p>\n<p># Constructors<br \/>\n        my $shire = DateTime::Fiction::JRRTolkien::Shire->new(year => 1419,<br \/>\n                                                              month => &#8216;Rethe&#8217;,<br \/>\n                                                              day => 25);<\/p>\n<p># Accessors<br \/>\n        $year = $shire->year;<br \/>\n        $month = $shire->month;            # 1 &#8211; 12, or 0 on a holiday<br \/>\n        $month_name = $shire->month_name;<br \/>\n        $day = $shire->day;                # 1 &#8211; 30, or 0 on a holiday<\/p>\n<p>        $dow = $shire->day_of_week;        # 1 &#8211; 7, or 0 on certain holidays<br \/>\n        $day_name = $shire->day_name;<\/p>\n<p>        $holiday = $shire->holiday;<br \/>\n        $holiday_name = $shire->holiday_name;<\/p>\n<p>        $leap = $shire->is_leap_year;<\/p>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Stumbleupon Review of : http:\/\/search.cpan.org\/~tbraun\/DateTime-Fiction-JRRTolkien-Shire-0.02\/ This is an essential bit of kit if you want your perl applications to run properly in Middle Earth. Example usage: use DateTime::Fiction::JRRTolkien::Shire; # Constructors my $shire = DateTime::Fiction::JRRTolkien::Shire->new(year => 1419, month => &#8216;Rethe&#8217;, day &hellip; <a href=\"http:\/\/su.blog.bunty.tv\/?p=17160388\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":""},"categories":[5888],"tags":[96],"_links":{"self":[{"href":"http:\/\/su.blog.bunty.tv\/index.php?rest_route=\/wp\/v2\/posts\/17160388"}],"collection":[{"href":"http:\/\/su.blog.bunty.tv\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/su.blog.bunty.tv\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/su.blog.bunty.tv\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/su.blog.bunty.tv\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17160388"}],"version-history":[{"count":0,"href":"http:\/\/su.blog.bunty.tv\/index.php?rest_route=\/wp\/v2\/posts\/17160388\/revisions"}],"wp:attachment":[{"href":"http:\/\/su.blog.bunty.tv\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17160388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/su.blog.bunty.tv\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17160388"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/su.blog.bunty.tv\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17160388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}