[][src]Struct fm_plugin::ffi::datetime::DateTime

pub struct DateTime { /* fields omitted */ }

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]

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]

pub fn normalize_time_i64(
    &mut self,
    hours: i64,
    minutes: i16,
    seconds: i16,
    milliseconds: i32
)
[src]

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

impl Default for DateTime[src]

impl Drop for DateTime[src]

impl PartialEq<DateTime> for DateTime[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.