{"id":157962,"date":"2020-09-19T04:25:58","date_gmt":"2020-09-18T20:25:58","guid":{"rendered":"http:\/\/4563.org\/?p=157962"},"modified":"2020-09-19T04:25:58","modified_gmt":"2020-09-18T20:25:58","slug":"%e5%89%8d%e7%ab%af%e4%bd%bf%e7%94%a8-element-%e7%9a%84%e5%91%a8%e9%80%89%e6%8b%a9%e5%99%a8%ef%bc%8c%e6%98%af%e5%9f%ba%e4%ba%8e-momentjs-%e7%9a%84%ef%bc%8c%e4%bd%86%e6%98%af%e6%97%b6%e9%97%b4%e4%b8%8e","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=157962","title":{"rendered":"\u524d\u7aef\u4f7f\u7528 element \u7684\u5468\u9009\u62e9\u5668\uff0c\u662f\u57fa\u4e8e momentJS \u7684\uff0c\u4f46\u662f\u65f6\u95f4\u4e0e Java \u8ba1\u7b97\u7684\u5374\u4e0d\u4e00\u6837"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u524d\u7aef\u4f7f\u7528 element \u7684\u5468\u9009\u62e9\u5668\uff0c\u662f\u57fa\u4e8e momentJS \u7684\uff0c\u4f46\u662f\u65f6\u95f4\u4e0e Java \u8ba1\u7b97\u7684\u5374\u4e0d\u4e00\u6837               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jiangnan01 <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>RT\uff0c\u73b0\u5728\u7684\u9700\u6c42\u662f\u8981\u505a\u4e00\u4e2a\u62a5\u8868\u63d0\u9192\u529f\u80fd\uff0c\u7528\u6237\u8bbe\u7f6e\u4e00\u4e2a\u62a5\u8868\u6709\u6548\u671f\u9650\u4f8b\u5982 2020 \u5e74\u7b2c 1 \u5468\u5230 2021 \u5e74\u7b2c 52 \u5468\uff0c\u5e76\u4e14\u6bcf\u5468\u4e09\u63d0\u9192\u5f53\u524d\u5468\u7684\u62a5\u8868\u3002\u4f46\u662f java \u5728\u6267\u884c\u7684\u65f6\u5019\u9700\u8981\u77e5\u9053\u5f53\u5929\u5c5e\u4e8e\u5f53\u5e74\u7684\u7b2c\u51e0\u5468\uff0c\u4f7f\u7528 Calendar \u7c7b\u8f6c\u6362\u7684\u65f6\u5019\u4e0e\u524d\u7aef\u5468\u9009\u62e9\u5668\u63a7\u4ef6\u8f93\u51fa\u7684\u4e0d\u4e00\u4e00\u81f4\uff0c\u5c24\u5176\u662f\u8de8\u5e74\u7684\u65f6\u5019\uff0c\u524d\u7aef\u8ba1\u7b97\u51fa\u6765\u7684\u53ef\u80fd\u662f\u5f53\u5e74\u6709 53 \u5468\uff0cjava \u8ba1\u7b97\u53ef\u80fd\u53ea\u6709 52 \u5468\u3002\u6240\u4ee5\u60f3\u77e5\u9053\u5927\u5bb6\u662f\u600e\u4e48\u89e3\u51b3\u8fd9\u7c7b\u5468\u671f\u8f6c\u6362\u95ee\u9898\u7684<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3378919\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ITsWHY <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65e5\u671f\u683c\u5f0f\u7684\u95ee\u9898\u6211\u4eec\u662f\u524d\u7aef\u505a\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3378920\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : easonHHH <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u822c\u7684 API \u90fd\u652f\u6301\u914d\u7f6e\u4ece\u7d22\u5f15 0 \u5f00\u59cb\u6216\u8005\u4ece 1 \u5f00\u59cb\uff08\u6ca1\u6709\u81ea\u5df1\u5c01\u88c5\u4e00\u5c42\u4e5f\u884c\uff09\uff0c\u53c8\u6216\u8005\u662f\u5468\u4e00 \/\u5468\u65e5\u4f5c\u4e3a\u5468\u5f00\u59cb\u7684\u5427\uff0c\u5982\u679c\u8fd9\u4e9b\u914d\u7f6e\u90fd\u7edf\u4e00\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba1\u7b97\u51fa\u6765\u5c31\u662f\u4e00\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3378921\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Torpedo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u8bb0\u5f97\u662f\u90e8\u5206\u6d4f\u89c8\u5668\u4e0a\uff0cjava \u7684 utc \u65f6\u95f4\u89e3\u6790\u548c js \u4e0d\u4e00\u6837\u3002<br \/>\u7528 unix \u65f6\u95f4\u6233\u5c31\u6ca1\u4e8b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3378922\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : jiangnan01 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ITsWHY \u5728\u62a5\u8868\u914d\u7f6e\u7684\u65f6\u5019\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u4e5f\u662f\u8fd9\u6837\u505a\u7684\uff0c\u6211\u524d\u7aef\u7ed9 java \u628a\u65e5\u671f\u533a\u95f4\u989d\u5916\u8f6c\u6362\u4e00\u4efd\u5bf9\u5e94\u7684\u7b2c N \u5468-\u7b2c n \u5468\u7684\u6570\u636e\uff0c\u73b0\u5728\u56e0\u4e3a\u8fd9\u4e2a\u62a5\u8868\u63d0\u9192\u662f java \u540e\u53f0\u81ea\u5df1\u8dd1\u7684\u5b9a\u65f6\u4efb\u52a1\uff0c\u9700\u8981 java \u83b7\u53d6\u5f53\u524d\u7684\u65f6\u95f4\u7136\u8f6c\u6362\u6210\u5f53\u524d\u5c5e\u4e8e\u7b2c\u51e0\u5468\uff0c\u8fd9\u4e2a\u65f6\u5019\u8ddf\u524d\u7aef\u8f6c\u6362\u7684\u53ef\u80fd\u4e0d\u4e00\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3378923\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : jiangnan01 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Torpedo \u662f\u5728 chrome \u8fd0\u884c\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3378924\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : jiangnan01 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @easonHHH \u8bf7\u95ee JAVA \u662f\u600e\u4e48\u8bbe\u7f6e\u8fd9\u4e2a\u5468\u51e0\u4f5c\u4e3a\u4e00\u5468\u5f00\u59cb\u7684\u5462\uff1f\u6211\u53ea\u77e5\u9053\u524d\u7aef\u53ef\u4ee5\u4f7f\u7528 momentJS \u8bbe\u7f6e\u8bed\u8a00\u7136\u540e\u8bbe\u7f6e\u5468\u51e0\u4f5c\u4e3a\u4e00\u5468\u5f00\u59cb\uff0c\u751a\u81f3\u4e00\u5e74\u7684\u7b2c\u4e00\u5468\u4ee5\u51e0\u6708\u51e0\u65e5\u5f00\u59cb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3378925\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : easonHHH <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @jiangnan01 #6 Java \u4e0d\u719f\uff0c\u4f46\u662f\u770b\u4e86\u4e00\u773c API \u6587\u6863\u91cc\u9762\u5e94\u8be5\u662f\u6709\u7684<br \/>https:\/\/docs.oracle.com\/javase\/8\/docs\/api\/java\/util\/Calendar.html<br \/>setFirstDayOfWeek(int value)<br \/>Sets what the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3378926\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : jiangnan01 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @easonHHH \u8c22\u8c22\uff0c\u627e\u5230\u4e86\uff0c\u518d\u52a0\u4e0a setMinimalDaysInFirstWeek \u8fd9\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u548c\u524d\u7aef\u5bf9\u5e94\u4e0a\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3378927\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Justin13 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             isoweek \u548c us week \u7684\u533a\u522b\uff0c\u65b9\u6cd5\u5c31\u662f\u524d\u540e\u7aef\u7528\u540c\u4e00\u5957\u89c4\u5219                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3378928\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : renmu123 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90fd\u7528\u7b26\u5408 iso \u89c4\u8303\u7684\u5e93\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u7aef\u4f7f\u7528 element \u7684\u5468\u9009\u62e9&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/157962"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=157962"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/157962\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=157962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=157962"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=157962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}