Struct git2::Time
[−]
[src]
pub struct Time { // some fields omitted }
Time in a signature
Methods
impl Time
fn new(time: i64, offset: i32) -> Time
Creates a new time structure from its components.
fn seconds(&self) -> i64
Return the time, in seconds, from epoch
fn offset_minutes(&self) -> i32
Return the timezone offset, in minutes