File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ import Foundation
8
8
9
9
public struct RecommendTimeRange : Codable , JSONEncodable {
10
10
/// When the rule should start to be active, in Unix epoch time.
11
- public var from : Int
11
+ public var from : Int64
12
12
/// When the rule should stop to be active, in Unix epoch time.
13
- public var until : Int
13
+ public var until : Int64
14
14
15
- public init ( from: Int , until: Int ) {
15
+ public init ( from: Int64 , until: Int64 ) {
16
16
self . from = from
17
17
self . until = until
18
18
}
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ import Foundation
8
8
9
9
public struct SearchTimeRange : Codable , JSONEncodable {
10
10
/// When the rule should start to be active, in Unix epoch time.
11
- public var from : Int
11
+ public var from : Int64
12
12
/// When the rule should stop to be active, in Unix epoch time.
13
- public var until : Int
13
+ public var until : Int64
14
14
15
- public init ( from: Int , until: Int ) {
15
+ public init ( from: Int64 , until: Int64 ) {
16
16
self . from = from
17
17
self . until = until
18
18
}
You can’t perform that action at this time.
0 commit comments