Skip to content

Commit 257b76f

Browse files
authored
Create a Hijri module and move hijri_ummalqura_data to it (#6521)
As #6502 (comment)
1 parent 2c0b3ef commit 257b76f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

components/calendar/src/cal/hijri.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
//! assert_eq!(hijri_date.day_of_month().0, 11);
2020
//! ```
2121
22-
use crate::cal::hijri_ummalqura_data::{UMMALQURA_DATA, UMMALQURA_DATA_STARTING_YEAR};
2322
use crate::cal::iso::{Iso, IsoDateInner};
2423
use crate::calendar_arithmetic::PrecomputedDataSource;
2524
use crate::calendar_arithmetic::{ArithmeticDate, CalendarArithmetic};
@@ -34,6 +33,9 @@ use calendrical_calculations::rata_die::RataDie;
3433
use icu_provider::marker::ErasedMarker;
3534
use icu_provider::prelude::*;
3635
use tinystr::tinystr;
36+
use ummalqura_data::{UMMALQURA_DATA, UMMALQURA_DATA_STARTING_YEAR};
37+
38+
mod ummalqura_data;
3739

3840
fn era_year(year: i32) -> EraYear {
3941
types::EraYear {
File renamed without changes.

components/calendar/src/cal/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ pub(crate) mod ethiopian;
1212
pub(crate) mod gregorian;
1313
pub(crate) mod hebrew;
1414
pub(crate) mod hijri;
15-
mod hijri_ummalqura_data;
1615
pub(crate) mod indian;
1716
pub(crate) mod iso;
1817
pub(crate) mod japanese;

0 commit comments

Comments
 (0)