Skip to content

Commit bb5e949

Browse files
committed
add day number property
1 parent 4939ed3 commit bb5e949

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/mir/date.d

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,6 +2337,15 @@ public:
23372337
return date;
23382338
}
23392339

2340+
/++
2341+
Returns;
2342+
Day Of Gregorian Calendar Minus One
2343+
+/
2344+
int dayNumber() @safe pure nothrow @nogc const @property
2345+
{
2346+
return _dayNumber;
2347+
}
2348+
23402349
/++
23412350
The Xth day of the Gregorian Calendar that this $(LREF Date) is on.
23422351
+/

0 commit comments

Comments
 (0)