]> git.proxmox.com Git - rustc.git/blobdiff - vendor/gix-date/src/time/mod.rs
New upstream version 1.74.1+dfsg1
[rustc.git] / vendor / gix-date / src / time / mod.rs
index 612a3cdef82db527bc7fca2a23e57f0c6b0957f8..22c4e42f0a664de49068bca4962797ca9d6af493 100644 (file)
@@ -6,11 +6,6 @@ impl Time {
     pub fn is_set(&self) -> bool {
         *self != Self::default()
     }
-
-    /// Return the passed seconds since epoch since this signature was made.
-    pub fn seconds(&self) -> u32 {
-        self.seconds_since_unix_epoch
-    }
 }
 
 /// Indicates if a number is positive or negative for use in [`Time`].
@@ -58,8 +53,8 @@ mod impls {
     impl Default for Time {
         fn default() -> Self {
             Time {
-                seconds_since_unix_epoch: 0,
-                offset_in_seconds: 0,
+                seconds: 0,
+                offset: 0,
                 sign: Sign::Plus,
             }
         }