C# Class System.DateTimeOffsetExtensions

显示文件 Open project: NuGet/NuGet.Services.Work

Public Methods

Method Description
IsOlderThan ( this self, System.TimeSpan age ) : bool
IsYoungerThan ( this self, System.TimeSpan age ) : bool

Method Details

IsOlderThan() public static method

public static IsOlderThan ( this self, System.TimeSpan age ) : bool
self this
age System.TimeSpan
return bool

IsYoungerThan() public static method

public static IsYoungerThan ( this self, System.TimeSpan age ) : bool
self this
age System.TimeSpan
return bool