Skip to content

Commit

Permalink
add day number property
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Mar 10, 2023
1 parent 4939ed3 commit bb5e949
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions source/mir/date.d
Expand Up @@ -2337,6 +2337,15 @@ public:
return date;
}

/++
Returns;
Day Of Gregorian Calendar Minus One
+/
int dayNumber() @safe pure nothrow @nogc const @property
{
return _dayNumber;
}

/++
The Xth day of the Gregorian Calendar that this $(LREF Date) is on.
+/
Expand Down

0 comments on commit bb5e949

Please sign in to comment.