Struct gstreamer::DateTime [−]
pub struct DateTime(_);
Methods
impl DateTime
[src]
impl DateTime
pub 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
) -> DateTime
pub fn new_from_g_date_time(dt: &DateTime) -> DateTime
[src]
pub fn new_from_g_date_time(dt: &DateTime) -> DateTime
pub fn new_from_iso8601_string(string: &str) -> DateTime
[src]
pub fn new_from_iso8601_string(string: &str) -> DateTime
pub fn new_from_unix_epoch_local_time(secs: i64) -> DateTime
[src]
pub fn new_from_unix_epoch_local_time(secs: i64) -> DateTime
pub fn new_from_unix_epoch_utc(secs: i64) -> DateTime
[src]
pub fn new_from_unix_epoch_utc(secs: i64) -> DateTime
pub 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
) -> DateTime
pub fn new_now_local_time() -> DateTime
[src]
pub fn new_now_local_time() -> DateTime
pub fn new_now_utc() -> DateTime
[src]
pub fn new_now_utc() -> DateTime
pub fn new_y(year: i32) -> DateTime
[src]
pub fn new_y(year: i32) -> DateTime
pub fn new_ym(year: i32, month: i32) -> DateTime
[src]
pub fn new_ym(year: i32, month: i32) -> DateTime
pub fn new_ymd(year: i32, month: i32, day: i32) -> DateTime
[src]
pub fn new_ymd(year: i32, month: i32, day: i32) -> DateTime
pub fn get_day(&self) -> i32
[src]
pub fn get_day(&self) -> i32
pub fn get_hour(&self) -> i32
[src]
pub fn get_hour(&self) -> i32
pub fn get_microsecond(&self) -> i32
[src]
pub fn get_microsecond(&self) -> i32
pub fn get_minute(&self) -> i32
[src]
pub fn get_minute(&self) -> i32
pub fn get_month(&self) -> i32
[src]
pub fn get_month(&self) -> i32
pub fn get_second(&self) -> i32
[src]
pub fn get_second(&self) -> i32
pub fn get_time_zone_offset(&self) -> f32
[src]
pub fn get_time_zone_offset(&self) -> f32
pub fn get_year(&self) -> i32
[src]
pub fn get_year(&self) -> i32
pub fn has_day(&self) -> bool
[src]
pub fn has_day(&self) -> bool
pub fn has_month(&self) -> bool
[src]
pub fn has_month(&self) -> bool
pub fn has_second(&self) -> bool
[src]
pub fn has_second(&self) -> bool
pub fn has_time(&self) -> bool
[src]
pub fn has_time(&self) -> bool
pub fn has_year(&self) -> bool
[src]
pub fn has_year(&self) -> bool
pub 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 Clone for DateTime
impl Clone for DateTime
fn clone(&self) -> DateTime
fn clone(&self) -> DateTime
Returns 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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl StaticType for DateTime
impl StaticType for DateTime
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl Send for DateTime
[src]
impl Send for DateTime
impl Sync for DateTime
[src]
impl Sync for DateTime
impl Display for DateTime
[src]
impl Display for DateTime