You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// This corresponds to the `"islamic-rgsa"` [CLDR calendar](https://unicode.org/reports/tr35/#UnicodeCalendarIdentifier)
114
124
/// if constructed with [`Hijri::new_simulated_mecca()`].
125
+
///
126
+
/// # Precise definition and limits
127
+
///
128
+
/// This calendar simulates the lunar cycle for a given location. This currently
129
+
/// simulates the calendar for all time using the same calculations, but we may
130
+
/// in the future introduce approximations for non-modern dates.
131
+
///
132
+
/// The precise behavior of this calendar for any and all dates may change in the future.
115
133
#[derive(Copy,Clone,Debug)]
116
134
pubstructAstronomicalSimulation{
117
135
pub(crate)location:SimulatedLocation,
@@ -239,6 +257,20 @@ impl Rules for AstronomicalSimulation {
239
257
/// calendar authority.
240
258
///
241
259
/// This corresponds to the `"islamic-umalqura"` [CLDR calendar](https://unicode.org/reports/tr35/#UnicodeCalendarIdentifier).
260
+
///
261
+
/// # Precise definition and limits
262
+
///
263
+
/// This calendar is intended to match the Umm al-Qura calendar defined and published by the Kingdom of Saudi Arabia,
264
+
/// with the source of truth being government published data/almanacs.
265
+
///
266
+
/// Outside the range 1300 AH (1882-11-12 ISO) to the end of 1600 AH (2174-11-25 ISO) it falls back
267
+
/// to a tabular approximation. These ranges may change in the future.
268
+
///
269
+
/// The precise behavior of this calendar may change in the future if:
270
+
/// - The ground truth in Saudi Arabia changes, either through published government sources or most almanacs
271
+
/// - Future data is published that we wish to incorporate
272
+
/// - We decide to tweak the simplified calculation
273
+
/// - We decide to expand the range where we are handling past dates.
242
274
#[derive(Copy,Clone,Debug,Default)]
243
275
#[non_exhaustive]
244
276
pubstructUmmAlQura;
@@ -315,6 +347,11 @@ impl Rules for UmmAlQura {
315
347
///
316
348
/// When constructed with [`TabularAlgorithmLeapYears::TypeII`], and either [`TabularAlgorithmEpoch::Friday`] or [`TabularAlgorithmEpoch::Thursday`],
317
349
/// this corresponds to the `"islamic-civil"` and `"islamic-tbla"` [CLDR calendars](https://unicode.org/reports/tr35/#UnicodeCalendarIdentifier) respectively.
350
+
///
351
+
/// # Precise definition and limits
352
+
///
353
+
/// This calendar is defined algorithmically based on the algorithm selected by the choice of [`TabularAlgorithmLeapYears`],
354
+
/// and the epoch selected by the choice of [`TabularAlgorithmEpoch`].
0 commit comments