Not nullable overlap
(x.StartDate <= y.EndDate && x.EndDate >= y.StartDate)
Nullable overlap
(x.StartDate ?? y.EndDate <= y.EndDate ?? x.StartDate) && (x.EndDate ?? y.StartDate >= y.StartDate ?? x.EndDate)
function toHSL(hex) { | |
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); | |
var r = parseInt(result[1], 16); | |
var g = parseInt(result[2], 16); | |
var b = parseInt(result[3], 16); | |
(r /= 255), (g /= 255), (b /= 255); | |
var max = Math.max(r, g, b), | |
min = Math.min(r, g, b); |
{"lastUpload":"2020-08-12T09:24:11.113Z","extensionVersion":"v3.4.3"} |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Electron: Main", | |
"protocol": "inspector", | |
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron", | |
"runtimeArgs": [ |
Not nullable overlap
(x.StartDate <= y.EndDate && x.EndDate >= y.StartDate)
Nullable overlap
(x.StartDate ?? y.EndDate <= y.EndDate ?? x.StartDate) && (x.EndDate ?? y.StartDate >= y.StartDate ?? x.EndDate)
using log4net.Layout.Pattern; | |
using log4net.Core; | |
using System.IO; | |
namespace LoggerExtensions | |
{ | |
public class MethodLocationPatternConverter : PatternLayoutConverter | |
{ | |
protected override void Convert(TextWriter writer, LoggingEvent loggingEvent) | |
{ |
using System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using System.Text; | |
namespace ObjectExtensions | |
{ | |
public static class Mapper | |
{ | |
public static T SetProperty<T>(this T host, string propertyName, object value, bool hideErrors = false) |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Xml.Serialization; | |
namespace Tools | |
{ | |
public class XMLTools | |
{ | |
#region singleton |
using System; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Reflection; | |
using Entities.HQ; | |
using Repositories.Contexts; | |
namespace TestUtils | |
{ | |
public class FakeHQContext : IHQContext |
using System; | |
using System.Collections.Generic; | |
using System.Data.Entity; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Routing; | |
using Web.App_Start; |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.ComponentModel.DataAnnotations; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; |