Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public bool IsOpenAt(TimeSpan time)

// Is the store in the same time zone?
if (tz.Equals(local)) {
return time >= open & time <= close;
return time >= open && time <= close;
}
else {
TimeSpan delta = TimeSpan.Zero;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>net10.0</TargetFrameworks>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ End Module
' The example displays the following output:
' Store is open now at 15:29:01.6129911: True
' Store is open at 08:00:00: True
' Store is open at 21:00:00: False
' Store is open at 21:00:00: True
' Store is open at 04:59:00: False
' Store is open at 18:31:00: False
' Store is open at 18:31:00: True
' </Snippet2>