     }
 
     
-    //MARK: Localization
+    // MARK: - Localization
+    
     func DateToolsLocalizedStrings(_ string: String) -> String {
         //let classBundle = Bundle(for:TimeChunk.self as! AnyClass.Type).resourcePath!.appending("DateTools.bundle")
         

        return NSLocalizedString(string, tableName: "DateTools", bundle: Bundle.main, value: "", comment: "")
    }
    
    //OTHERS
    func earlierDate(_ date:Date) -> Date{
        return (self.timeIntervalSince1970 <= date.timeIntervalSince1970) ? self : date
    }

        }
    }

    internal func logicalLocalizedStringFromFormat(format: String, value: Int) -> String{
        let localeFormat = String.init(format: format, getLocaleFormatUnderscoresWithValue(Double(value)))
        return String.init(format: DateToolsLocalizedStrings(localeFormat), value)
    }
    
    internal func getLocaleFormatUnderscoresWithValue(_ value: Double) -> String{
        let localCode = Bundle.main.preferredLocalizations[0]
        if (localCode == "ru" || localCode == "uk") {
            let XY = Int(floor(value).truncatingRemainder(dividingBy: 100))
