#[non_exhaustive]pub struct Korea;Expand description
The Rules used in Korea.
See KoreanTraditional for more information.
Implementations§
Source§impl Korea
impl Korea
Sourcepub fn adapted_gb_t_33661_2017(related_iso: i32) -> EastAsianTraditionalYearData
pub fn adapted_gb_t_33661_2017(related_iso: i32) -> EastAsianTraditionalYearData
A version of China::gb_t_33661_2017 adapted for Korean time.
See China::gb_t_33661_2017 for caveats.
Trait Implementations§
Source§impl Ord for Korea
impl Ord for Korea
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Korea
impl PartialOrd for Korea
Source§impl Rules for Korea
impl Rules for Korea
Source§fn year_data(&self, related_iso: i32) -> EastAsianTraditionalYearData
fn year_data(&self, related_iso: i32) -> EastAsianTraditionalYearData
Returns data about the given year.
Source§fn ecma_reference_year(
&self,
month_code: (u8, bool),
day: u8,
) -> Result<i32, EcmaReferenceYearError>
fn ecma_reference_year( &self, month_code: (u8, bool), day: u8, ) -> Result<i32, EcmaReferenceYearError>
Returns an ECMA reference year that contains the given month-day combination. Read more
Source§fn calendar_algorithm(&self) -> Option<CalendarAlgorithm>
fn calendar_algorithm(&self) -> Option<CalendarAlgorithm>
The BCP-47
CalendarAlgorithm for the calendar defined by these Rules, if defined.Source§fn debug_name(&self) -> &'static str
fn debug_name(&self) -> &'static str
The debug name for the calendar defined by these
Rules.impl Copy for Korea
impl Eq for Korea
impl StructuralPartialEq for Korea
Auto Trait Implementations§
impl Freeze for Korea
impl RefUnwindSafe for Korea
impl Send for Korea
impl Sync for Korea
impl Unpin for Korea
impl UnsafeUnpin for Korea
impl UnwindSafe for Korea
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more