#[repr(u32)]pub enum UCalendarDateFields {
Show 25 variants
UCAL_ERA = 0,
UCAL_YEAR = 1,
UCAL_MONTH = 2,
UCAL_WEEK_OF_YEAR = 3,
UCAL_WEEK_OF_MONTH = 4,
UCAL_DATE = 5,
UCAL_DAY_OF_YEAR = 6,
UCAL_DAY_OF_WEEK = 7,
UCAL_DAY_OF_WEEK_IN_MONTH = 8,
UCAL_AM_PM = 9,
UCAL_HOUR = 10,
UCAL_HOUR_OF_DAY = 11,
UCAL_MINUTE = 12,
UCAL_SECOND = 13,
UCAL_MILLISECOND = 14,
UCAL_ZONE_OFFSET = 15,
UCAL_DST_OFFSET = 16,
UCAL_YEAR_WOY = 17,
UCAL_DOW_LOCAL = 18,
UCAL_EXTENDED_YEAR = 19,
UCAL_JULIAN_DAY = 20,
UCAL_MILLISECONDS_IN_DAY = 21,
UCAL_IS_LEAP_MONTH = 22,
UCAL_ORDINAL_MONTH = 23,
UCAL_FIELD_COUNT = 24,
}
Variants§
UCAL_ERA = 0
UCAL_YEAR = 1
UCAL_MONTH = 2
UCAL_WEEK_OF_YEAR = 3
UCAL_WEEK_OF_MONTH = 4
UCAL_DATE = 5
UCAL_DAY_OF_YEAR = 6
UCAL_DAY_OF_WEEK = 7
UCAL_DAY_OF_WEEK_IN_MONTH = 8
UCAL_AM_PM = 9
UCAL_HOUR = 10
UCAL_HOUR_OF_DAY = 11
UCAL_MINUTE = 12
UCAL_SECOND = 13
UCAL_MILLISECOND = 14
UCAL_ZONE_OFFSET = 15
UCAL_DST_OFFSET = 16
UCAL_YEAR_WOY = 17
UCAL_DOW_LOCAL = 18
UCAL_EXTENDED_YEAR = 19
UCAL_JULIAN_DAY = 20
UCAL_MILLISECONDS_IN_DAY = 21
UCAL_IS_LEAP_MONTH = 22
UCAL_ORDINAL_MONTH = 23
UCAL_FIELD_COUNT = 24
Implementations§
Source§impl UCalendarDateFields
impl UCalendarDateFields
pub const UCAL_DAY_OF_MONTH: UCalendarDateFields = UCalendarDateFields::UCAL_DATE
Trait Implementations§
Source§impl Clone for UCalendarDateFields
impl Clone for UCalendarDateFields
Source§fn clone(&self) -> UCalendarDateFields
fn clone(&self) -> UCalendarDateFields
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UCalendarDateFields
impl Debug for UCalendarDateFields
Source§impl Hash for UCalendarDateFields
impl Hash for UCalendarDateFields
Source§impl PartialEq for UCalendarDateFields
impl PartialEq for UCalendarDateFields
Source§impl PartialOrd for UCalendarDateFields
impl PartialOrd for UCalendarDateFields
impl Copy for UCalendarDateFields
impl Eq for UCalendarDateFields
impl StructuralPartialEq for UCalendarDateFields
Auto Trait Implementations§
impl Freeze for UCalendarDateFields
impl RefUnwindSafe for UCalendarDateFields
impl Send for UCalendarDateFields
impl Sync for UCalendarDateFields
impl Unpin for UCalendarDateFields
impl UnwindSafe for UCalendarDateFields
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)