     
     /// Whether the location specified by the `latitude` and `longitude` is in nighttime on `date`
     /// - Complexity: O(1)
-    var isNighttime: Bool {
+    public var isNighttime: Bool {
         return !isDaytime
     }
     
     // MARK: Init
     
-    init?(forDate date: NSDate = NSDate(), withTimeZone timeZone: NSTimeZone = NSTimeZone.localTimeZone(), latitude: Double, longitude: Double) {
+    public init?(forDate date: NSDate = NSDate(), withTimeZone timeZone: NSTimeZone = NSTimeZone.localTimeZone(), latitude: Double, longitude: Double) {
         self.date = date
         self.timeZone = timeZone
         self.latitude = latitude


import Foundation

final class Solar: NSObject {
    
    /// The timezone for the Solar object
    private(set) var timeZone: NSTimeZone = NSTimeZone.localTimeZone()

    
    /// Whether the location specified by the `latitude` and `longitude` is in daytime on `date`
    /// - Complexity: O(1)
    public var isDaytime: Bool {
        let beginningOfDay = sunrise?.timeIntervalSince1970
        let endOfDay = sunset?.timeIntervalSince1970
        let currentTime = NSDate().timeIntervalSince1970
