Skip to main content
Version: 2.11.10

Humanizer.InDate.Two

InDate.Two Class

public static class InDate.Two

Inheritance System.Object → Two

Properties

InDate.Two.Days Property

2 days from now

public static System.DateOnly Days { get; }

Property Value

System.DateOnly

InDate.Two.Months Property

2 months from now

public static System.DateOnly Months { get; }

Property Value

System.DateOnly

InDate.Two.Weeks Property

2 weeks from now

public static System.DateOnly Weeks { get; }

Property Value

System.DateOnly

InDate.Two.Years Property

2 years from now

public static System.DateOnly Years { get; }

Property Value

System.DateOnly

Methods

InDate.Two.DaysFrom(DateOnly) Method

2 days from the provided date

public static System.DateOnly DaysFrom(System.DateOnly date);

Parameters

date System.DateOnly

Returns

System.DateOnly

InDate.Two.DaysFrom(DateTime) Method

2 days from the provided date

public static System.DateOnly DaysFrom(System.DateTime date);

Parameters

date System.DateTime

Returns

System.DateOnly

InDate.Two.MonthsFrom(DateOnly) Method

2 months from the provided date

public static System.DateOnly MonthsFrom(System.DateOnly date);

Parameters

date System.DateOnly

Returns

System.DateOnly

InDate.Two.MonthsFrom(DateTime) Method

2 months from the provided date

public static System.DateOnly MonthsFrom(System.DateTime date);

Parameters

date System.DateTime

Returns

System.DateOnly

InDate.Two.WeeksFrom(DateOnly) Method

2 weeks from the provided date

public static System.DateOnly WeeksFrom(System.DateOnly date);

Parameters

date System.DateOnly

Returns

System.DateOnly

InDate.Two.WeeksFrom(DateTime) Method

2 weeks from the provided date

public static System.DateOnly WeeksFrom(System.DateTime date);

Parameters

date System.DateTime

Returns

System.DateOnly

InDate.Two.YearsFrom(DateOnly) Method

2 years from the provided date

public static System.DateOnly YearsFrom(System.DateOnly date);

Parameters

date System.DateOnly

Returns

System.DateOnly

InDate.Two.YearsFrom(DateTime) Method

2 years from the provided date

public static System.DateOnly YearsFrom(System.DateTime date);

Parameters

date System.DateTime

Returns

System.DateOnly