Struct gstreamer::DateTime [−]
pub struct DateTime(_);
Methods
impl DateTime[src]
impl DateTimepub fn new(
tzoffset: f32,
year: i32,
month: i32,
day: i32,
hour: i32,
minute: i32,
seconds: f64
) -> DateTime[src]
pub fn new(
tzoffset: f32,
year: i32,
month: i32,
day: i32,
hour: i32,
minute: i32,
seconds: f64
) -> DateTimepub fn new_from_g_date_time(dt: &DateTime) -> DateTime[src]
pub fn new_from_g_date_time(dt: &DateTime) -> DateTimepub fn new_from_iso8601_string(string: &str) -> DateTime[src]
pub fn new_from_iso8601_string(string: &str) -> DateTimepub fn new_from_unix_epoch_local_time(secs: i64) -> DateTime[src]
pub fn new_from_unix_epoch_local_time(secs: i64) -> DateTimepub fn new_from_unix_epoch_utc(secs: i64) -> DateTime[src]
pub fn new_from_unix_epoch_utc(secs: i64) -> DateTimepub fn new_local_time(
year: i32,
month: i32,
day: i32,
hour: i32,
minute: i32,
seconds: f64
) -> DateTime[src]
pub fn new_local_time(
year: i32,
month: i32,
day: i32,
hour: i32,
minute: i32,
seconds: f64
) -> DateTimepub fn new_now_local_time() -> DateTime[src]
pub fn new_now_local_time() -> DateTimepub fn new_now_utc() -> DateTime[src]
pub fn new_now_utc() -> DateTimepub fn new_y(year: i32) -> DateTime[src]
pub fn new_y(year: i32) -> DateTimepub fn new_ym(year: i32, month: i32) -> DateTime[src]
pub fn new_ym(year: i32, month: i32) -> DateTimepub fn new_ymd(year: i32, month: i32, day: i32) -> DateTime[src]
pub fn new_ymd(year: i32, month: i32, day: i32) -> DateTimepub fn get_day(&self) -> i32[src]
pub fn get_day(&self) -> i32pub fn get_hour(&self) -> i32[src]
pub fn get_hour(&self) -> i32pub fn get_microsecond(&self) -> i32[src]
pub fn get_microsecond(&self) -> i32pub fn get_minute(&self) -> i32[src]
pub fn get_minute(&self) -> i32pub fn get_month(&self) -> i32[src]
pub fn get_month(&self) -> i32pub fn get_second(&self) -> i32[src]
pub fn get_second(&self) -> i32pub fn get_time_zone_offset(&self) -> f32[src]
pub fn get_time_zone_offset(&self) -> f32pub fn get_year(&self) -> i32[src]
pub fn get_year(&self) -> i32pub fn has_day(&self) -> bool[src]
pub fn has_day(&self) -> boolpub fn has_month(&self) -> bool[src]
pub fn has_month(&self) -> boolpub fn has_second(&self) -> bool[src]
pub fn has_second(&self) -> boolpub fn has_time(&self) -> bool[src]
pub fn has_time(&self) -> boolpub fn has_year(&self) -> bool[src]
pub fn has_year(&self) -> boolpub fn to_g_date_time(&self) -> Option<DateTime>[src]
pub fn to_g_date_time(&self) -> Option<DateTime>pub fn to_iso8601_string(&self) -> Option<String>[src]
pub fn to_iso8601_string(&self) -> Option<String>Trait Implementations
impl Debug for DateTime[src]
impl Debug for DateTimefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DateTime[src]
impl PartialEq for DateTimefn eq(&self, other: &DateTime) -> bool[src]
fn eq(&self, other: &DateTime) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DateTime) -> bool[src]
fn ne(&self, other: &DateTime) -> boolThis method tests for !=.
impl Eq for DateTime[src]
impl Eq for DateTimeimpl PartialOrd for DateTime[src]
impl PartialOrd for DateTimefn partial_cmp(&self, other: &DateTime) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &DateTime) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &DateTime) -> bool[src]
fn lt(&self, other: &DateTime) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &DateTime) -> bool[src]
fn le(&self, other: &DateTime) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &DateTime) -> bool[src]
fn gt(&self, other: &DateTime) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &DateTime) -> bool[src]
fn ge(&self, other: &DateTime) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for DateTime[src]
impl Ord for DateTimefn cmp(&self, other: &DateTime) -> Ordering[src]
fn cmp(&self, other: &DateTime) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Hash for DateTime[src]
impl Hash for DateTimefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for DateTime
impl Clone for DateTimefn clone(&self) -> DateTime
fn clone(&self) -> DateTimeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl StaticType for DateTime
impl StaticType for DateTimefn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl Send for DateTime[src]
impl Send for DateTimeimpl Sync for DateTime[src]
impl Sync for DateTimeimpl Display for DateTime[src]
impl Display for DateTime