Skip to content

Conversation

@robertbastian
Copy link
Member

No description provided.

Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this direction is consistent with #7340, since it takes advantage of the bullet point "We decide to tweak the precise astronomical simulation used" and keeps the type AstronomicalSimulation as representing an astronomical simulation, just a different one than we had been shipping before.

Comment on lines -673 to -674
///
/// This corresponds to the `"islamic-rgsa"` [CLDR calendar](https://unicode.org/reports/tr35/#UnicodeCalendarIdentifier).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please say something like "there is currently no CLDR calendar that corresponds to this"

Ok(AnyCalendarKind::HijriTabularTypeIIFriday)
}
Hijri(Some(HijriCalendarAlgorithm::Rgsa)) => Ok(AnyCalendarKind::HijriSimulatedMecca),
Hijri(Some(HijriCalendarAlgorithm::Rgsa)) => Err(()),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't return Err elsewhere in this fn; what is the impact?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes we do, for -u-ca-islamic

Comment on lines +185 to +186
#[non_exhaustive]
pub enum ReingoldSimulation {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue: I prefer the old model where the fields are private because we might want fields to tweak behavior besides just the location, perhaps the crescent moon criterion, or how far back to run calculations or something

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can still change things because this is unstable. I prefer exposing one and not two unstable types

Co-authored-by: Shane F. Carr <shane@unicode.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants