Skip to main content
Version: 4.0 (next)

Humanizer.InDate.One

InDate.One Class​

public static class InDate.One

Inheritance System.Object → One

Properties​

InDate.One.Day Property​

1 days from now

public static System.DateOnly Day { get; }
Property Value​

System.DateOnly

InDate.One.Month Property​

1 months from now

public static System.DateOnly Month { get; }
Property Value​

System.DateOnly

InDate.One.Week Property​

1 weeks from now

public static System.DateOnly Week { get; }
Property Value​

System.DateOnly

InDate.One.Year Property​

1 years from now

public static System.DateOnly Year { get; }
Property Value​

System.DateOnly

Methods​

InDate.One.DayFrom(DateOnly) Method​

1 days from the provided date

public static System.DateOnly DayFrom(System.DateOnly date);
Parameters​

date System.DateOnly

Returns​

System.DateOnly

InDate.One.DayFrom(DateTime) Method​

1 days from the provided date

public static System.DateOnly DayFrom(System.DateTime date);
Parameters​

date System.DateTime

Returns​

System.DateOnly

InDate.One.MonthFrom(DateOnly) Method​

1 months from the provided date

public static System.DateOnly MonthFrom(System.DateOnly date);
Parameters​

date System.DateOnly

Returns​

System.DateOnly

InDate.One.MonthFrom(DateTime) Method​

1 months from the provided date

public static System.DateOnly MonthFrom(System.DateTime date);
Parameters​

date System.DateTime

Returns​

System.DateOnly

InDate.One.WeekFrom(DateOnly) Method​

1 weeks from the provided date

public static System.DateOnly WeekFrom(System.DateOnly date);
Parameters​

date System.DateOnly

Returns​

System.DateOnly

InDate.One.WeekFrom(DateTime) Method​

1 weeks from the provided date

public static System.DateOnly WeekFrom(System.DateTime date);
Parameters​

date System.DateTime

Returns​

System.DateOnly

InDate.One.YearFrom(DateOnly) Method​

1 years from the provided date

public static System.DateOnly YearFrom(System.DateOnly date);
Parameters​

date System.DateOnly

Returns​

System.DateOnly

InDate.One.YearFrom(DateTime) Method​

1 years from the provided date

public static System.DateOnly YearFrom(System.DateTime date);
Parameters​

date System.DateTime

Returns​

System.DateOnly