 
   public var store: UnsafeMutablePointer<tm>
 
+  public init(secondsSinceEpoch: Int) {
+    var n = secondsSinceEpoch
+    self.store = gmtime(&n)
+  }
+
   public init(store: UnsafeMutablePointer<tm>? = nil) {
     if let v = store {
       self.store = v
     } else {
       var n = time(nil)
+      //var brok = gmtime(&n)
       self.store = gmtime(&n)
     }
   }

  }

}


  public var seconds: Int32 { return store.memory.tm_sec }

  public var secondsSinceEpoch: Int {
    var r = Int(seconds)
    r += Int(minutes) * 60
    r += Int(hour) * 3600
    r += Int(yearday) * 86400
    let y = Int(year)
    r += (y - 70) * 31536000
    r += ((y - 69) / 4) * 86400
    //r += ((y - 1) / 100) * 86400
    //r += ((y + 299) / 400) * 86400
    return r
  }

  public var description: String {
    return "TimeStore(year: \(year), month: \(month), day: \(day), " +
        "hour: \(hour), minutes: \(minutes), seconds: \(seconds), " +
