{"id":1226,"date":"2016-12-09T11:07:36","date_gmt":"2016-12-09T03:07:36","guid":{"rendered":"http:\/\/www.yeetrack.com\/?p=1226"},"modified":"2024-01-09T16:24:16","modified_gmt":"2024-01-09T08:24:16","slug":"jodd%e4%b9%8bjdatetime","status":"publish","type":"post","link":"https:\/\/www.yeetrack.com\/?p=1226","title":{"rendered":"jodd\u4e4bJDateTime"},"content":{"rendered":"<p><code>JDateTime<\/code>\u662f\u4e00\u4e2a\u975e\u5e38\u7b80\u6d01\u3001\u53cb\u597d\u3001\u7cbe\u786e\u7684\u5904\u7406\u65e5\u671f\u548c\u65f6\u95f4\u7684\u5de5\u5177\u3002\u5b83\u4f7f\u7528\u5b9a\u4e49\u660e\u786e\u3001\u5e76\u4e14\u4e45\u7ecf\u8003\u9a8c\u7684\u5929\u6587\u7b97\u6cd5\u6765\u8fdb\u884c\u65f6\u95f4\u64cd\u4f5c\u3002\u89c9\u5f97JDK\u63d0\u4f9b\u7684<code>Calendar<\/code>\u5f88\u96be\u7528\u7684\u4eba\uff0c\u4f1a\u89c9\u5f97<code>JDateTime<\/code>\u4f7f\u7528\u8d77\u6765\u5f88\u65b9\u4fbf\u3002<\/p>\n<h2>Julian day(\u5112\u7565\u65e5)<\/h2>\n<p>\u5112\u7565\u65e5\uff08Julian day\uff09\u662f\u6307\u7531\u516c\u5143\u524d4713\u5e741\u67081\u65e5\uff0c\u534f\u8c03\u4e16\u754c\u65f6\u4e2d\u534812\u65f6\u5f00\u59cb\u6240\u7ecf\u8fc7\u7684\u5929\u6570\uff0c\u591a\u4e3a\u5929\u6587\u5b66\u5bb6\u91c7\u7528\uff0c\u7528\u4ee5\u4f5c\u4e3a\u5929\u6587\u5b66\u7684\u5355\u4e00\u5386\u6cd5\uff0c\u628a\u4e0d\u540c\u5386\u6cd5\u7684\u5e74\u8868\u7edf\u4e00\u8d77\u6765\u3002\u5982\u679c\u8ba1\u7b97\u76f8\u9694\u82e5\u5e72\u5e74\u7684\u4e24\u4e2a\u65e5\u671f\u4e4b\u95f4\u95f4\u9694\u7684\u5929\u6570\uff0c\u5229\u7528\u5112\u7565\u65e5\u5c31\u6bd4\u8f83\u65b9\u4fbf\u3002\u5b98\u65b9\u6587\u6863\u4e0a\u6709\u66f4\u8be6\u7ec6\u7684\u63cf\u8ff0\uff0c<a href=\"http:\/\/jodd.org\/doc\/jdatetime.html\">http:\/\/jodd.org\/doc\/jdatetime.html<\/a>\u3002<br \/>\n<!--more--><\/p>\n<h2>\u7cbe\u5ea6<\/h2>\n<p><code>JDateTime<\/code>\u4f7f\u7528Julian date\u6765\u8bb0\u5f55\u5f53\u524d\u65e5\u671f\u548c\u65f6\u95f4\u3002\u5b83\u4f7f\u7528\u5929\u6587\u7b97\u6cd5\u6765\u8fdb\u884c\u65f6\u95f4\u8ba1\u7b97\uff0c\u8fd9\u4e9b\u7b97\u6cd5\u5df2\u7ecf\u88ab\u5145\u5206\u7684\u4f7f\u7528\u548c\u8bc1\u660e\u8fc7\u4e86\u3002<code>JDateTime<\/code>\u7684\u7cbe\u5ea6\u4e3a1\u6beb\u79d2\u3002<\/p>\n<h2>\u8bbe\u7f6e\u65e5\u671f\u548c\u65f6\u95f4<\/h2>\n<p><code>JDateTime<\/code>\u53ef\u4ee5\u4f7f\u7528\u597d\u51e0\u79cd\u65b9\u5f0f\u521d\u59cb\u5316\uff1a\u2460\u6307\u5b9a\u5177\u4f53\u7684\u65e5\u671f\uff08\u6216\u8005\u65f6\u95f4\uff09\uff1b\u2461\u901a\u8fc7\u4f20\u9012JDK\u63d0\u4f9b\u7684\u5176\u4ed6\u65f6\u95f4\u7c7b\u578b\u7684\u5bf9\u8c61\uff1b\u2462\u901a\u8fc7\u6307\u5b9a\u65f6\u95f4\u6233\uff08\u6beb\u79d2\uff09\u7b49...<\/p>\n<p><code>JDateTime<\/code>\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u5177\u4f53\u65e5\u671f\/\u65f6\u95f4\u6765\u521d\u59cb\u5316\u3002\u521d\u59cb\u5316\u4e4b\u540e\uff0c\u8fd8\u53ef\u4ee5\u5bf9\u5176\u4e2d\u7684\u65e5\u671f\u548c\u65f6\u95f4\u8fdb\u884c\u66f4\u6539\u3002\u53ef\u4ee5\u66f4\u6539<code>JDateTime<\/code>\u5bf9\u8c61\u4e2d\u7684\u6240\u6709\u65f6\u95f4\u5c5e\u6027\uff0c\u4e5f\u53ef\u4ee5\u53ea\u66f4\u6539\u5176\u4e2d\u7684\u4e00\u4e24\u9879\uff08\u6bd4\u5982\u5c0f\u65f6\u3001\u5206\u949f\uff09\u3002<\/p>\n<p>\u4f7f\u7528\u793a\u4f8b\uff1a<\/p>\n<pre><code>    JDateTime jdt = new JDateTime();            \/\/ \u4f7f\u7528\u5f53\u524d\u65f6\u95f4\u521d\u59cb\u5316\n    jdt = new JDateTime(2012, 12, 21):          \/\/ 21st December 2012, midnight\n    jdt = new JDateTime(System.currentTimeMillis());    \/\/ \u5f53\u524d\u65f6\u95f4\n    jdt = new JDateTime(2012, 12, 21, 11, 54, 22, 124); \/\/ 21.Dec.2012,11:54:22.124\n    jdt = new JDateTime(\"2012-12-21 11:54:22.124\");     \/\/ -\/\/-\n    jdt = new JDateTime(\"12\/21\/2012\", \"MM\/DD\/YYYY\");    \/\/ 21st Dec. 2012, midnight\n<\/code><\/pre>\n<p>\u901a\u8fc7set\u65b9\u6cd5\u8fdb\u884c\u521d\u59cb\u5316\uff1a<\/p>\n<pre><code>    JDateTime jdt = new JDateTime();         \/\/ \u5f53\u524d\u65f6\u95f4\n    jdt.set(2012, 12, 21, 11, 54, 22, 124);  \/\/ 21st December 2012, 11:54:22.124\n    jdt.set(2012, 12, 21);                   \/\/ 21st December 2012, midnight\n    jdt.setDate(2012, 12, 21);               \/\/ change just date to 21st Dec. 2012\n    jdt.setCurrentTime();                    \/\/ set current date and time\n    jdt.setYear(1973);                       \/\/ \u4fee\u6539\u5e74\u4efd\n    jdt.setHour(22);                         \/\/ \u4fee\u6539\u5c0f\u65f6\n    jdt.setTime(18, 0, 12, 853);             \/\/ \u4fee\u6539\u65f6\u95f4\u90e8\u5206\n<\/code><\/pre>\n<h2>\u8bfb\u53d6\u65e5\u671f\u548c\u65f6\u95f4<\/h2>\n<p><code>JDateTime<\/code>\u7c7b\u63d0\u4f9bget\u65b9\u6cd5\u6765\u83b7\u53d6\u5404\u79cd\u5c5e\u6027\uff1ayears,months,hours\u7b49\u3002Days\u548cmonths\u5c5e\u6027\u90fd\u662f\u6574\u578b\u6570\u5b57\uff0c\u5982<code>JDateTime.JANUARY<\/code>\u5bf9\u5e941.<\/p>\n<p>\u9664\u4e86get\u65b9\u6cd5\u6765\u83b7\u53d6\u5355\u4e2a\u5c5e\u6027\uff0c\u8fd8\u63d0\u4f9b\u65b9\u6cd5\u6765\u83b7\u53d6\u6574\u4e2a\u65f6\u95f4\u4fe1\u606f\u3002<br \/>\n<code>getDateTimeStamp()<\/code>\u7528\u6765\u83b7\u53d6<code>DateTimeStamp<\/code>\u5bf9\u8c61\uff0c<code>getJulianDate()<\/code>\u7528\u6765\u83b7\u53d6<code>JulianDateStamp<\/code>\u5bf9\u8c61\u3002<\/p>\n<h2>\u65f6\u95f4\u52a0\u51cf<\/h2>\n<p><code>JDateTime<\/code>\u53ef\u4ee5\u5bf9\u5f53\u524d\u65f6\u95f4\u8fdb\u884c\u589e\u51cf\uff0c\u53ef\u4ee5\u589e\u51cf\u67d0\u4e2a\u5c5e\u6027\uff0c\u6216\u8005\u4e00\u6b21\u589e\u51cf\u5168\u90e8\u5c5e\u6027\u3002<br \/>\n\u4f7f\u7528\u6837\u4f8b\uff1a<\/p>\n<pre><code>jdt.add(1, 2, 3, 4, 5, 6, 7);  \/\/ \u589e\u52a01\u5e74\uff0c2\u4e2a\u6708\uff0c3\u5929\uff0c4\u4e2a\u5c0f\u65f6...\njdt.add(4, 2, 0);              \/\/ \u589e\u52a04\u5e74\uff0c2\u4e2a\u6708\njdt.addMonth(-120);            \/\/ \u51cf\u53bb120\u4e2a\u6708\njdt.subYear(1);                \/\/ \u51cf\u53bb1\u5e74\njdt.addHour(1234);             \/\/ \u51cf\u53bb1234\u4e2a\u5c0f\u65f6\n<\/code><\/pre>\n<p>\u6ce8\u610f\uff1a\u5982\u679c\u8981\u589e\u51cf\u591a\u4e2a\u5c5e\u6027\uff0c\u4f7f\u7528\u4e0a\u9762\u7b2c\u4e00\u79cd\u65b9\u5f0f\u6bd4\u8c03\u7528\u591a\u6b21\u66f4\u52a0\u6548\u7387\u3002<\/p>\n<p>\u5728\u589e\u51cf\u6708\u4efd\u7684\u65f6\u5019\uff0c\u53ef\u80fd\u4f1a\u6709\u4e00\u4e9b\u610f\u5916\u7684\u5730\u65b9\uff0c\u5982\u679c\u5f53\u524d\u65e5\u671f\u662f2003\u5e741\u670831\u65e5\uff0c\u5728\u5f53\u524d\u65e5\u671f\u4e0a\u589e\u52a01\u4e2a\u6708\uff0c\u90a3\u7ed3\u679c\u662f\u4ec0\u4e48\uff1f \u8fd9\u91cc\uff0cJDateTime`\u63d0\u4f9b\u4e24\u79cd\u7ed3\u679c\u3002<\/p>\n<p><code>JDateTime<\/code>\u4f7f\u7528<code>monthFix<\/code>\u6807\u5fd7\u4f4d\u6765\u8868\u793a\u5f53\u524d\u7684\u5904\u7406\u65b9\u5f0f\u3002\u5f53<code>monthFix<\/code>\u4e3aoff\u65f6\uff0c\u4e00\u4e2a\u6708\u4f1a\u88ab\u5f53\u621031\u5929\uff0c\u6240\u4ee5\u4e0a\u9762\u7684\u7ed3\u679c\u5c31\u662f2003\u5e741\u670831\u65e5\uff0c\u52a0\u4e0a31\u5929\uff0c\u7ed3\u679c\u4e3a2003\u5e743\u67083\u65e5\u3002<\/p>\n<p>\u5f53<code>monthFix<\/code>\u4e3aon(\u4e5f\u662f\u9ed8\u8ba4\u7684\u65b9\u5f0f)\u65f6\uff0c\u4e00\u4e2a\u6708\u5c31\u662f\u5355\u7eaf\u7684\u4e00\u4e2a\u6708\uff0c\u4e0d\u8003\u8651\u4e00\u4e2a\u6708\u542b\u6709\u591a\u5c11\u5929\u3002\u6240\u4ee5\u4e0a\u9762\u7684\u7ed3\u679c\u5c31\u662f2003\u5e741\u670831\u65e5\uff0c\u52a0\u4e0a\u4e00\u4e2a\u6708\uff0c\u7ed3\u679c\u4e3a2003\u5e742\u670828\u65e5\u3002<\/p>\n<p>\u56e0\u4e3a\u8fd9\u91cc\u53ef\u80fd\u4f1a\u6709\u975e\u9884\u671f\u7684\u7ed3\u679c\uff0c\u6240\u4ee5\u4e0d\u63a8\u8350\u4f7f\u7528\u589e\u51cf\u6708\u4efd\uff0c\u63a8\u8350\u4f7f\u7528\u589e\u51cf\u5929\u6570\u4ee3\u66ff\u3002<\/p>\n<h2>\u65f6\u95f4\u8de8\u5ea6<\/h2>\n<p>\u4f7f\u7528<code>JDateTime<\/code>\u53ef\u4ee5\u5f88\u7b80\u5355\u5730\u8ba1\u7b97\u51fa\u4e24\u4e2a\u65e5\u671f\u76f8\u5dee\u7684\u5929\u6570\uff0c\u4f46\u662f\u6211\u4eec\u8fd8\u6709\u8ba1\u7b97\u5c0f\u65f6\u3001\u5206\u949f\u3001\u79d2\u3001\u6beb\u79d2\u7684\u9700\u6c42\uff1b\u6240\u4ee5\u4f7f\u7528<code>Period<\/code>\u8fd9\u4e2a\u7c7b\u662f\u6bd4\u8f83\u597d\u7684\u9009\u62e9.<\/p>\n<pre><code>    JDateTime jDateTime = new JDateTime();\n    JDateTime jDateTime1 = new JDateTime(2012, 1,31);\n    Period period = new Period(jDateTime, jDateTime1);\n    System.out.println(period.getHours());\n<\/code><\/pre>\n<h2>\u7c7b\u578b\u8f6c\u6362<\/h2>\n<p><code>JDateTime<\/code>\u53ef\u4ee5\u5f88\u7b80\u5355\u7684\u8f6c\u6362\u6210\u5176\u4ed6\u7c7b\u578b\u7684\u65f6\u95f4\u76f8\u5173\u7c7b\uff1a<code>GregorianCalendar<\/code>, <code>java.util.Date<\/code>, <code>java.sql.Date<\/code>, <code>Timestamp<\/code>, <code>DateTimeStamp<\/code>\u3002<\/p>\n<pre><code>Calendar c = jdt.convertToCalendar();\njdt.convertToGregorianCalendar();\njdt.convertTo(GregorianCalendar.class);  \/\/ generic way of conversion\njdt = new JDateTime(gregCalInstance);    \/\/ create from GregorianCalendar\njdt.loadFrom(gregCalInstance);       \/\/ load time data from GregorianCalendar\njdt.storeTo(gregCalInstance);        \/\/ store time data to GregorianCalendar\n<\/code><\/pre>\n<h2>\u5b57\u7b26\u4e32\u8f6c\u6362<\/h2>\n<p>\u65f6\u95f4\u5bf9\u8c61\u548c\u5b57\u7b26\u4e32\u4e4b\u95f4\u7684\u8f6c\u6362\uff0c\u4e5f\u662f\u5f88\u91cd\u8981\u7684\u4e00\u90e8\u5206\u3002<code>JDateTime<\/code>\u652f\u6301\u4e24\u79cd\u8f6c\u6362\u65b9\u5f0f\uff1a\u2460\u8c03\u7528<code>JDateTime<\/code>\u5bf9\u8c61\u7684\u5185\u90e8\u65b9\u6cd5\uff1b\u2461\u4f7f\u7528\u5916\u90e8\u7684\u683c\u5f0f\u5316\u7c7b\uff0c\u6765\u683c\u5f0f\u5316\u8f93\u51fa<code>JDateTime<\/code>\u5bf9\u8c61\u3002<\/p>\n<p>\u5bf9\u4e8e<code>JDateTime<\/code>\u63d0\u4f9b\u7684\u6240\u6709\u8f6c\u6362\u65b9\u6cd5\u6765\u8bf4\uff0c\u90fd\u662f\u901a\u8fc7\u5b9e\u73b0<code>JdtFormatter<\/code>\u63a5\u53e3\u6765\u5b9e\u73b0\u3002<br \/>\n\u4e0b\u9762\u662f\u65f6\u95f4\u683c\u5f0f\u5316\u8f93\u51fa\u7684\u5b57\u7b26\u4e32\u6a21\u677f\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>Pattern<\/th>\n<th>Parsing?<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>YYYY<\/td>\n<td>yes<\/td>\n<td>year<\/td>\n<\/tr>\n<tr>\n<td>MM<\/td>\n<td>yes<\/td>\n<td>month<\/td>\n<\/tr>\n<tr>\n<td>DD<\/td>\n<td>yes<\/td>\n<td>day of month<\/td>\n<\/tr>\n<tr>\n<td>D<\/td>\n<td><\/td>\n<td>day of week<\/td>\n<\/tr>\n<tr>\n<td>MML<\/td>\n<td><\/td>\n<td>month name long<\/td>\n<\/tr>\n<tr>\n<td>MMS<\/td>\n<td><\/td>\n<td>month name short<\/td>\n<\/tr>\n<tr>\n<td>DL<\/td>\n<td><\/td>\n<td>day of week name long<\/td>\n<\/tr>\n<tr>\n<td>DS<\/td>\n<td><\/td>\n<td>day of week name short<\/td>\n<\/tr>\n<tr>\n<td>hh<\/td>\n<td>yes<\/td>\n<td>hour<\/td>\n<\/tr>\n<tr>\n<td>mm<\/td>\n<td>yes<\/td>\n<td>minute<\/td>\n<\/tr>\n<tr>\n<td>ss<\/td>\n<td>yes<\/td>\n<td>seconds<\/td>\n<\/tr>\n<tr>\n<td>mss<\/td>\n<td>yes<\/td>\n<td>milliseconds<\/td>\n<\/tr>\n<tr>\n<td>DDD<\/td>\n<td><\/td>\n<td>day of year<\/td>\n<\/tr>\n<tr>\n<td>WW<\/td>\n<td><\/td>\n<td>week of year<\/td>\n<\/tr>\n<tr>\n<td>WWW<\/td>\n<td><\/td>\n<td>week of year with 'W' prefix<\/td>\n<\/tr>\n<tr>\n<td>W<\/td>\n<td><\/td>\n<td>week of month<\/td>\n<\/tr>\n<tr>\n<td>E<\/td>\n<td><\/td>\n<td>era (AD or BC)<\/td>\n<\/tr>\n<tr>\n<td>TZL<\/td>\n<td><\/td>\n<td>time zone name long<\/td>\n<\/tr>\n<tr>\n<td>TZS<\/td>\n<td><\/td>\n<td>time zone name short<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5982\u679c\u8981\u8f93\u51fa\u7684\u6587\u672c\u548c\u5b57\u7b26\u4e32\u6a21\u677f\u51b2\u7a81\uff0c\u53ef\u4ee5\u4f7f\u7528\u5355\u5f15\u53f7\u6765\u7981\u6b62\u89e3\u6790\u3002<br \/>\n\u4ee3\u7801\u6837\u4f8b\uff1a<\/p>\n<pre><code>JDateTime jdt = new JDateTime(1975, 1, 1);\njdt.toString();                     \/\/ \"1975-01-01 00:00:00.000\"\njdt.toString(\"YYYY.MM.DD\");         \/\/ \"1975.01.01\"\njdt.toString(\"MM: MML (MMS)\");      \/\/ \"01: January (Jan)\"\njdt.toString(\"DD is D: DL (DS)\");   \/\/ \"01 is 3: Wednesday (Wed)\"\nJDateTime jdt = new JDateTime(1968, 9, 30);\njdt.toString(\"'''' is a sign, W is a week number and 'W' is a letter\");\n\/\/ \"' is a sign, 5 is a week number and W is a letter\"\n\njdt.parse(\"2003-11-24 23:18:38.173\");\njdt.parse(\"2003-11-23\");                \/\/ 2003-11-23 00:00:00.000\njdt.parse(\"01.01.1975\", \"DD.MM.YYYY\");  \/\/ 1975-01-01\njdt.parse(\"2001-01-31\", \"YYYY-MM-***\"); \/\/ 2001-01-01, since day is not parsed\n\nJDateTime jdt = new JDateTime();\nJdtFormatter fmt = new DefaultFormatter();\nfmt.convert(jdt, \"YYYY-MM.DD\");         \/\/ external conversion\n\nJdtFormat format = new JdtFormat(new DefaultFormatter(), \"YYYY+DD+MM\");\njdt.toString(format);\nformat.convert(jdt);\n\nDateFormat df = new SimpleDateFormat();\ndf.format(jdt.convertToDate());         \/\/ date formatter\n<\/code><\/pre>\n<h2>\u65f6\u533a<\/h2>\n<p><code>JDateTime<\/code>\u652f\u6301\u65f6\u533a\u7684\u8bbe\u7f6e\uff0c\u8bbe\u7f6e\u65f6\u533a\u65f6\uff0c<code>JDateTime<\/code>\u5bf9\u8c61\u5b58\u50a8\u7684\u65f6\u95f4\u4e5f\u4f1a\u8fdb\u884c\u76f8\u5e94\u4fee\u6539.<\/p>\n<pre><code>JDateTime jdt = new JDateTime(); \/\/\u5047\u5982\u662f\u4e0a\u53488\u70b9\njdt.setTimeZone(TimeZone.getTimeZone(\"Japan\"));\nSystem.out.println(jdt); \/\/\u540c\u6837\u4e5f\u662f\u4e0a\u53488\u70b9\n<\/code><\/pre>\n<p>\u5982\u679c\u60f3\u5728\u4fee\u6539\u65f6\u533a\u65f6\uff0c\u4e0d\u4fee\u6539\u65f6\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528<code>changeTimeZone<\/code>\u65b9\u6cd5,\u8fd9\u6837\u5317\u4eac\u7684\u4e0a\u53488\u70b9\uff0c\u5c31\u5bf9\u5e94\u4e3a\u4e1c\u4eac\u7684\u4e0a\u53489\u70b9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JDateTime\u662f\u4e00\u4e2a\u975e\u5e38\u7b80\u6d01\u3001\u53cb\u597d\u3001\u7cbe\u786e\u7684\u5904\u7406\u65e5\u671f\u548c\u65f6\u95f4\u7684\u5de5\u5177\u3002\u5b83\u4f7f\u7528\u5b9a\u4e49\u660e\u786e\u3001\u5e76\u4e14\u4e45\u7ecf\u8003\u9a8c\u7684\u5929\u6587\u7b97\u6cd5\u6765\u8fdb\u884c\u65f6\u95f4\u64cd\u4f5c\u3002\u89c9\u5f97JDK\u63d0\u4f9b\u7684Calendar\u5f88\u96be\u7528\u7684\u4eba\uff0c\u4f1a\u89c9\u5f97JDateTime\u4f7f\u7528\u8d77\u6765\u5f88&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[33],"tags":[8],"class_list":["post-1226","post","type-post","status-publish","format-standard","hentry","category-coding","tag-java"],"views":7074,"_links":{"self":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts\/1226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1226"}],"version-history":[{"count":3,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts\/1226\/revisions"}],"predecessor-version":[{"id":1313,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts\/1226\/revisions\/1313"}],"wp:attachment":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}