ASF Bugzilla – Attachment 29333 Details for
Bug 53644
[PATCH] XLS formula bugfix (CalFieldFunc) + WeekDay addon
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
English javadoc for WeekdayFunc
poi_patch.txt (text/plain), 1.91 KB, created by
Thies Wellpott
on 2012-09-05 13:12:44 UTC
(
hide
)
Description:
English javadoc for WeekdayFunc
Filename:
MIME Type:
Creator:
Thies Wellpott
Created:
2012-09-05 13:12:44 UTC
Size:
1.91 KB
patch
obsolete
>Index: src/java/org/apache/poi/ss/formula/functions/WeekdayFunc.java >=================================================================== >--- src/java/org/apache/poi/ss/formula/functions/WeekdayFunc.java (revision 1381157) >+++ src/java/org/apache/poi/ss/formula/functions/WeekdayFunc.java (working copy) >@@ -58,25 +58,20 @@ > > /** > * Perform WEEKDAY(date, returnOption) function. >- * Note: Parameter texts are from German EXCEL-2010 help. > * Parameters in args[]: >- * args[0] serialDate >- * EXCEL-date value >- * Standardmaessig ist der 1. Januar 1900 die fortlaufende Zahl 1 und >- * der 1. Januar 2008 die fortlaufende Zahl 39.448, da dieser Tag nach 39.448 Tagen >- * auf den 01.01.1900 folgt. >- * @return Option (optional) >- * Bestimmt den Rueckgabewert: >- 1 oder nicht angegeben Zahl 1 (Sonntag) bis 7 (Samstag). Verhaelt sich wie fruehere Microsoft Excel-Versionen. >- 2 Zahl 1 (Montag) bis 7 (Sonntag). >- 3 Zahl 0 (Montag) bis 6 (Sonntag). >- 11 Die Zahlen 1 (Montag) bis 7 (Sonntag) >- 12 Die Zahlen 1 (Dienstag) bis 7 (Montag) >- 13 Die Zahlen 1 (Mittwoch) bis 7 (Dienstag) >- 14 Die Zahlen 1 (Donnerstag) bis 7 (Mittwoch) >- 15 Die Zahlen 1 (Freitag) bis 7 (Donnerstag) >- 16 Die Zahlen 1 (Samstag) bis 7 (Freitag) >- 17 Die Zahlen 1 (Sonntag) bis 7 (Samstag) >+ * - args[0]: serialDate, the EXCEL-date value (number of days since 1.1.1900 starting at 1) >+ * - args[1]: returnOption (optional parameter, default is 1) >+ * Defines the result value (a number): >+ 1 or left out: 1 (Sunday) to 7 (Saturday). >+ 2: 1 (Monday) bis 7 (Sunday). >+ 3: 0 (Monday) to 6 (Sunday). >+ 11: 1 (Monday) to 7 (Sunday) >+ 12: 1 (Tuesday) to 7 (Monday) >+ 13: 1 (Wednesday) to 7 (Tuesday) >+ 14: 1 (Thursday) to 7 (Wednesday) >+ 15: 1 (Friday) to 7 (Thursday) >+ 16: 1 (Saturday) to 7 (Friday) >+ 17: 1 (Sunday) to 7 (Saturday) > */ > public ValueEval evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex) { > try {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 53644
:
29155
|
29156
| 29333