.Core: Added doc

git-svn-id: svn://ultimatepp.org/upp/trunk@3076 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2011-01-23 21:42:39 +00:00
parent 9a05a6c17e
commit 8421073d46

View file

@ -42,8 +42,38 @@ function.&]
[s7; [*/ Return value]-|Filtered character.&]
[s3; &]
[s4;%- &]
[s5;:DayOfWeek`(Date`):%- [@(0.0.255) int]_[* DayOfWeek]([_^Date^ Date]_[*@3 date])&]
[s2; Day [%-*@3 date] number of day of week, beginning from 0.&]
[s3; &]
[s4;%- &]
[s5;:LastDayOfMonth`(Date`):%- [_^Date^ Date]_[* LastDayOfMonth]([_^Date^ Date]_[*@3 d])&]
[s2; Returns day [%-*@3 d] last day of the month.&]
[s0;l288; Example:&]
[s0;l288; [*C@3 ][*C LastDayOfMonth(Date(2011, 9, 23)) `= `"30/9/2011`"]&]
[s3; &]
[s4;%- &]
[s5;:FirstDayOfMonth`(Date`):%- [_^Date^ Date]_[* FirstDayOfMonth]([_^Date^ Date]_[*@3 d])&]
[s2; Returns day [%-*@3 d] first day of the month.&]
[s0;l288; Example:&]
[s0;l288; [*C@3 ][*C LastDayOfYear(Date(2011, 9, 23)) `= `"1/9/2011`"]&]
[s3; &]
[s4;%- &]
[s5;:LastDayOfYear`(Date`):%- [_^Date^ Date]_[* LastDayOfYear]([_^Date^ Date]_[*@3 d])&]
[s2; Returns day [%-*@3 d] last day of the year.&]
[s0;l288; Example:&]
[s0;l288; [*C@3 ][*C LastDayOfYear(Date(2011, 9, 23)) `= `"31/12/2011`"]&]
[s3; &]
[s4;%- &]
[s5;:FirstDayOfYear`(Date`):%- [_^Date^ Date]_[* FirstDayOfYear]([_^Date^ Date]_[*@3 d])&]
[s2; Returns the first day of the year of day [%-*@3 d].&]
[s2; Returns day [%-*@3 d ]first day of the year.&]
[s0;l288; Example:&]
[s0;l288; [*C@3 ][*C FirstDayOfYear(Date(2011, 9, 23)) `= `"1/1/2011`"]&]
[s3; &]
[s4;%- &]
[s5;:DayOfYear`(Date`):%- [@(0.0.255) int]_[* DayOfYear]([_^Date^ Date]_[*@3 d])&]
[s2; Returns day [%-*@3 d ]number of day of year, beginning from 1.&]
[s0;l288; Example:&]
[s0;l288; [*C@3 ][*C DayOfYear(Date(2011, 1, 2)) `= 2]&]
[s3; &]
[s4;%- &]
[s5;:SetDateFormat`(const char`*`):%- [@(0.0.255) void]_[* SetDateFormat]([@(0.0.255) const