Skip to content

Commit

Permalink
Define isnan for AbstractTime
Browse files Browse the repository at this point in the history
  • Loading branch information
ianfiske authored Sep 25, 2020
1 parent 04a5be7 commit 76c6ee8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/Dates/src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -454,3 +454,5 @@ end

Base.OrderStyle(::Type{<:AbstractTime}) = Base.Ordered()
Base.ArithmeticStyle(::Type{<:AbstractTime}) = Base.ArithmeticWraps()

Base.isnan(::AbstractTime) = false

0 comments on commit 76c6ee8

Please sign in to comment.