[−][src]Struct fm_plugin::ffi::datetime::DateTime
Implementations
impl DateTime
[src]
pub fn new() -> Self
[src]
pub fn from_str(date: &str, locale: Locale) -> Self
[src]
pub fn from_text(text: Text, locale: Locale) -> Self
[src]
pub fn normalize_date_fixed_point(
&mut self,
year: FixPt,
month: FixPt,
day: FixPt
)
[src]
&mut self,
year: FixPt,
month: FixPt,
day: FixPt
)
pub fn normalize_date_i16(&mut self, year: i16, month: i16, day: i16)
[src]
pub fn normalize_time_fixed_point(
&mut self,
hours: FixPt,
minutes: FixPt,
seconds: FixPt
)
[src]
&mut self,
hours: FixPt,
minutes: FixPt,
seconds: FixPt
)
pub fn normalize_time_i64(
&mut self,
hours: i64,
minutes: i16,
seconds: i16,
milliseconds: i32
)
[src]
&mut self,
hours: i64,
minutes: i16,
seconds: i16,
milliseconds: i32
)
pub fn get_days_since_epoch(&mut self) -> i32
[src]
pub fn get_seconds_since_epoch(&mut self) -> FixPt
[src]
pub fn set_days_since_epoch(&mut self, days: i64)
[src]
pub fn set_seconds_since_epoch(&mut self, seconds: FixPt)
[src]
pub fn set_seconds_since_midnight(&mut self, seconds: FixPt)
[src]
pub fn get_seconds_since_midnight(&mut self) -> FixPt
[src]
pub fn from_ptr(ptr: *const fmx_DateTime) -> Self
[src]
pub fn is_leap_year(&self) -> bool
[src]
pub fn day_of_week(&self) -> i16
[src]
pub fn day_of_year(&self) -> i16
[src]
pub fn week_of_year(&self) -> i16
[src]
pub fn now(&mut self)
[src]
pub fn hours(&self) -> i32
[src]
pub fn minutes(&self) -> i16
[src]
pub fn seconds(&self) -> i16
[src]
pub fn milliseconds(&self) -> i32
[src]
pub fn seconds_fixed_point(&self) -> FixPt
[src]
pub fn day(&self) -> i16
[src]
pub fn month(&self) -> i16
[src]
pub fn year(&self) -> i16
[src]
pub fn set_date(&mut self, datetime: DateTime)
[src]
pub fn set_time(&mut self, datetime: DateTime)
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DateTime
[src]
impl !Send for DateTime
[src]
impl !Sync for DateTime
[src]
impl Unpin for DateTime
[src]
impl UnwindSafe for DateTime
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,