jdk/src/java.base/share/classes/java/time/chrono/HijrahChronology.java
changeset 45124 144479e89cdb
parent 44846 b3f9f5bf40b2
child 46149 b515ebc3db98
equal deleted inserted replaced
45123:e0a225dbc346 45124:144479e89cdb
   101  * The length of each month is 29 or 30 days.
   101  * The length of each month is 29 or 30 days.
   102  * Ordinary years have 354 days; leap years have 355 days.
   102  * Ordinary years have 354 days; leap years have 355 days.
   103  *
   103  *
   104  * <p>
   104  * <p>
   105  * CLDR and LDML identify variants:
   105  * CLDR and LDML identify variants:
   106  * <table cellpadding="2" summary="Variants of Hijrah Calendars">
   106  * <table class="striped">
       
   107  * <caption style="display:none">Variants of Hijrah Calendars</caption>
   107  * <thead>
   108  * <thead>
   108  * <tr class="tableSubHeadingColor">
   109  * <tr>
   109  * <th class="colFirst" style="text-align:left" >Chronology ID</th>
   110  * <th style="text-align:left" >Chronology ID</th>
   110  * <th class="colFirst" style="text-align:left" >Calendar Type</th>
   111  * <th style="text-align:left" >Calendar Type</th>
   111  * <th class="colFirst" style="text-align:left" >Locale extension, see {@link java.util.Locale}</th>
   112  * <th style="text-align:left" >Locale extension, see {@link java.util.Locale}</th>
   112  * <th class="colLast" style="text-align:left" >Description</th>
   113  * <th style="text-align:left" >Description</th>
   113  * </tr>
   114  * </tr>
   114  * </thead>
   115  * </thead>
   115  * <tbody>
   116  * <tbody>
   116  * <tr class="altColor">
   117  * <tr>
   117  * <td>Hijrah-umalqura</td>
   118  * <td>Hijrah-umalqura</td>
   118  * <td>islamic-umalqura</td>
   119  * <td>islamic-umalqura</td>
   119  * <td>ca-islamic-umalqura</td>
   120  * <td>ca-islamic-umalqura</td>
   120  * <td>Islamic - Umm Al-Qura calendar of Saudi Arabia</td>
   121  * <td>Islamic - Umm Al-Qura calendar of Saudi Arabia</td>
   121  * </tr>
   122  * </tr>
   145  * The variants are loaded by HijrahChronology as a resource from
   146  * The variants are loaded by HijrahChronology as a resource from
   146  * hijrah-config-&lt;calendar type&gt;.properties.
   147  * hijrah-config-&lt;calendar type&gt;.properties.
   147  * <p>
   148  * <p>
   148  * The Hijrah property resource is a set of properties that describe the calendar.
   149  * The Hijrah property resource is a set of properties that describe the calendar.
   149  * The syntax is defined by {@code java.util.Properties#load(Reader)}.
   150  * The syntax is defined by {@code java.util.Properties#load(Reader)}.
   150  * <table cellpadding="2" summary="Configuration of Hijrah Calendar">
   151  * <table class="striped">
       
   152  * <caption style="display:none">Configuration of Hijrah Calendar</caption>
   151  * <thead>
   153  * <thead>
   152  * <tr class="tableSubHeadingColor">
   154  * <tr>
   153  * <th class="colFirst" style="text-align:left" > Property Name</th>
   155  * <th style="text-align:left" > Property Name</th>
   154  * <th class="colFirst" style="text-align:left" > Property value</th>
   156  * <th style="text-align:left" > Property value</th>
   155  * <th class="colLast" style="text-align:left" > Description </th>
   157  * <th style="text-align:left" > Description </th>
   156  * </tr>
   158  * </tr>
   157  * </thead>
   159  * </thead>
   158  * <tbody>
   160  * <tbody>
   159  * <tr class="altColor">
   161  * <tr>
   160  * <td>id</td>
   162  * <td>id</td>
   161  * <td>Chronology Id, for example, "Hijrah-umalqura"</td>
   163  * <td>Chronology Id, for example, "Hijrah-umalqura"</td>
   162  * <td>The Id of the calendar in common usage</td>
   164  * <td>The Id of the calendar in common usage</td>
   163  * </tr>
   165  * </tr>
   164  * <tr class="rowColor">
   166  * <tr>
   165  * <td>type</td>
   167  * <td>type</td>
   166  * <td>Calendar type, for example, "islamic-umalqura"</td>
   168  * <td>Calendar type, for example, "islamic-umalqura"</td>
   167  * <td>LDML defines the calendar types</td>
   169  * <td>LDML defines the calendar types</td>
   168  * </tr>
   170  * </tr>
   169  * <tr class="altColor">
   171  * <tr>
   170  * <td>version</td>
   172  * <td>version</td>
   171  * <td>Version, for example: "1.8.0_1"</td>
   173  * <td>Version, for example: "1.8.0_1"</td>
   172  * <td>The version of the Hijrah variant data</td>
   174  * <td>The version of the Hijrah variant data</td>
   173  * </tr>
   175  * </tr>
   174  * <tr class="rowColor">
   176  * <tr>
   175  * <td>iso-start</td>
   177  * <td>iso-start</td>
   176  * <td>ISO start date, formatted as {@code yyyy-MM-dd}, for example: "1900-04-30"</td>
   178  * <td>ISO start date, formatted as {@code yyyy-MM-dd}, for example: "1900-04-30"</td>
   177  * <td>The ISO date of the first day of the minimum Hijrah year.</td>
   179  * <td>The ISO date of the first day of the minimum Hijrah year.</td>
   178  * </tr>
   180  * </tr>
   179  * <tr class="altColor">
   181  * <tr>
   180  * <td>yyyy - a numeric 4 digit year, for example "1434"</td>
   182  * <td>yyyy - a numeric 4 digit year, for example "1434"</td>
   181  * <td>The value is a sequence of 12 month lengths,
   183  * <td>The value is a sequence of 12 month lengths,
   182  * for example: "29 30 29 30 29 30 30 30 29 30 29 29"</td>
   184  * for example: "29 30 29 30 29 30 30 30 29 30 29 29"</td>
   183  * <td>The lengths of the 12 months of the year separated by whitespace.
   185  * <td>The lengths of the 12 months of the year separated by whitespace.
   184  * A numeric year property must be present for every year without any gaps.
   186  * A numeric year property must be present for every year without any gaps.