| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
|
|
||
| IF (WITH_DESKTOP) | ||
| FILE (GLOB ICONS *.icns) | ||
| INSTALL (FILES ${ICONS} | ||
| DESTINATION ${CMAKE_INSTALL_PREFIX}/../Resources) | ||
|
|
||
| ADD_SUBDIRECTORY(browser) | ||
| ENDIF (WITH_DESKTOP) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
|
|
||
| FILE (GLOB ICONS *.icns) | ||
| INSTALL (FILES ${ICONS} | ||
| DESTINATION "${CMAKE_INSTALL_PREFIX}/${QGIS_BIN_DIR}/QGIS Browser.app/Contents/Resources") | ||
| # create alias now, so alias file gets correct icon | ||
| INSTALL (CODE "EXECUTE_PROCESS(COMMAND osascript -e \"tell application \\\"Finder\\\" to make alias file to POSIX file \\\"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${QGIS_BIN_DIR}/QGIS Browser.app\\\" at POSIX file \\\"$ENV{DESTDIR}${QGIS_INSTALL_PREFIX}/\\\"\")") |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| <plist version="1.0"> | ||
| <dict> | ||
| <key>CFBundleDevelopmentRegion</key> | ||
| <string>English</string> | ||
| <key>CFBundleName</key> | ||
| <string>QGIS Browser</string> | ||
| <key>CFBundleIdentifier</key> | ||
| <string>org.qgis.qgis</string> | ||
| <key>CFBundleExecutable</key> | ||
| <string>QGIS Browser</string> | ||
| <key>CFBundlePackageType</key> | ||
| <string>APPL</string> | ||
| <key>CFBundleSignature</key> | ||
| <string>QGSB</string> | ||
| <key>CFBundleGetInfoString</key> | ||
| <string>${QGIS_APP_NAME} Browser ${COMPLETE_VERSION}-${RELEASE_NAME} (${REVISION}), © 2002-2012 QGIS Development Team</string> | ||
| <key>CFBundleShortVersionString</key> | ||
| <string>${COMPLETE_VERSION}</string> | ||
| <key>CFBundleVersion</key> | ||
| <string>${COMPLETE_VERSION} (${REVISION})</string> | ||
| <key>CFBundleIconFile</key> | ||
| <string>qgisb.icns</string> | ||
| <key>CFBundleInfoDictionaryVersion</key> | ||
| <string>6.0</string> | ||
| <key>CSResourcesFileMapped</key> | ||
| <true/> | ||
| <key>CFBundleLocalizations</key> | ||
| <array> | ||
| <string>en</string> | ||
| <string>af</string> | ||
| <string>ar</string> | ||
| <string>bg</string> | ||
| <string>ca_ES</string> | ||
| <string>cs_CZ</string> | ||
| <string>da_DK</string> | ||
| <string>de</string> | ||
| <string>el_GR</string> | ||
| <string>es</string> | ||
| <string>fa</string> | ||
| <string>fi</string> | ||
| <string>fr</string> | ||
| <string>gl_ES</string> | ||
| <string>he</string> | ||
| <string>hr_HR</string> | ||
| <string>hu</string> | ||
| <string>id</string> | ||
| <string>is</string> | ||
| <string>it</string> | ||
| <string>ja</string> | ||
| <string>ka_GE</string> | ||
| <string>ko_KR</string> | ||
| <string>lo</string> | ||
| <string>lt</string> | ||
| <string>lv</string> | ||
| <string>mn</string> | ||
| <string>nl</string> | ||
| <string>no</string> | ||
| <string>pl_PL</string> | ||
| <string>pt_BR</string> | ||
| <string>pt_PT</string> | ||
| <string>ro</string> | ||
| <string>ru</string> | ||
| <string>sk</string> | ||
| <string>sl_SI</string> | ||
| <string>sq_AL</string> | ||
| <string>sr_CS-Latn</string> | ||
| <string>sv</string> | ||
| <string>ta</string> | ||
| <string>th</string> | ||
| <string>tr</string> | ||
| <string>uk</string> | ||
| <string>vi</string> | ||
| <string>xh</string> | ||
| <string>zh_CN</string> | ||
| <string>zh_TW</string> | ||
| </array> | ||
| </dict> | ||
| </plist> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <h3>Funktion $now</h3> | ||
| Ergibt aktuelles Datum und Zeit | ||
|
|
||
| <h4>Syntax</h4> | ||
| <pre>$now</pre> | ||
|
|
||
| <h4>Argumente</h4> | ||
| Keine | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <pre>$now → 2012-07-22T13:24:57</pre> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| <h3>$now function</h3> | ||
| Returns the current date and time | ||
|
|
||
| <h4>Syntax</h4> | ||
| <pre>$now</pre> | ||
|
|
||
| <h4>Arguments</h4> | ||
| None | ||
|
|
||
| <h4>Example</h4> | ||
| <pre>$now → 2012-07-22T13:24:57</pre> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| <h3>CASE Ausdruck</h3> | ||
| Ist ein bedingter Ausdruck mit dem mehrere AusdrĂĽcken ausgewertet und ein | ||
| Ergebnis zurĂĽckgegeben werden kann. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <pre> | ||
| CASE | ||
| WHEN <i>bedingung</i> THEN <i>ergebnis</i> | ||
| [ ...n ] | ||
| [ ELSE <i>ergebnis</i> ] | ||
| END | ||
| </pre> | ||
| [ ] markiert optionale Komponenten | ||
|
|
||
| <h4>Argumente</h4> | ||
| <!-- List args for functions here--> | ||
| <i> WHEN bedingung</i> - Der Bedingungsausdruck. <br> | ||
| <i> THEN ergebnis</i> - Wenn die <i>bedingung</i> True ergibt, wird der Ausdruck <i>ergebnis</i> ausgewertet und zurĂĽckgegeben. <br> | ||
| <i> ELSE ergebnis</i> - Wenn keine der Bedingungen erfĂĽllt ist, wird der Ausdruck <i>ergebnis</i> ausgewertet und zurĂĽckgegeben. <br> | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <pre> | ||
| CASE | ||
| WHEN <i>"column" IS NULL</i> THEN <i>'Leer'</i> | ||
| ELSE <i>"column"</i> | ||
| END | ||
| </pre> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| <h3>CASE expression</h3> | ||
| A conditional expression that can be used to evaluate multiple expressions and | ||
| return a result. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <pre> | ||
| CASE | ||
| WHEN <i>condition</i> THEN <i>result</i> | ||
| [ ...n ] | ||
| [ ELSE <i>result</i> ] | ||
| END | ||
| </pre> | ||
| [ ] marks optional components | ||
|
|
||
| <h4>Arguments</h4> | ||
| <!-- List args for functions here--> | ||
| <i> WHEN condition</i> - The condition expression to evaluate. <br> | ||
| <i> THEN result</i> - If <i>condition</i> evaluates to True then <i>result</i> is evaluated and returned. <br> | ||
| <i> ELSE result</i> - If none of the above conditions evaluated to True then <i>result</i> is evaluated and returned. <br> | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <pre> | ||
| CASE | ||
| WHEN <i>"column" IS NULL</i> THEN <i>'None'</i> | ||
| ELSE <i>"column"</i> | ||
| END | ||
| </pre> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| <h3>CASE Ausdruck</h3> | ||
| Ist ein bedingter Ausdruck mit dem mehrere AusdrĂĽcken ausgewertet und ein | ||
| Ergebnis zurĂĽckgegeben werden kann. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <pre> | ||
| CASE | ||
| WHEN <i>bedingung</i> THEN <i>ergebnis</i> | ||
| [ ...n ] | ||
| [ ELSE <i>ergebnis</i> ] | ||
| END | ||
| </pre> | ||
| [ ] markiert optionale Komponenten | ||
|
|
||
| <h4>Argumente</h4> | ||
| <!-- List args for functions here--> | ||
| <i> WHEN bedingung</i> - Der Bedingungsausdruck. <br> | ||
| <i> THEN ergebnis</i> - Wenn die <i>bedingung</i> True ergibt, wird der Ausdruck <i>ergebnis</i> ausgewertet und zurĂĽckgegeben. <br> | ||
| <i> ELSE ergebnis</i> - Wenn keine der Bedingungen erfĂĽllt ist, wird der Ausdruck <i>ergebnis</i> ausgewertet und zurĂĽckgegeben. <br> | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <pre> | ||
| CASE | ||
| WHEN <i>"column" IS NULL</i> THEN <i>'Leer'</i> | ||
| END | ||
| </pre> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| <h3>CASE expression</h3> | ||
| A conditional expression that can be used to evaluate multiple expressions and | ||
| return a result. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <pre> | ||
| CASE | ||
| WHEN <i>condition</i> THEN <i>result</i> | ||
| [ ...n ] | ||
| [ ELSE <i>result</i> ] | ||
| END | ||
| </pre> | ||
| [ ] marks optional components | ||
|
|
||
| <h4>Arguments</h4> | ||
| <!-- List args for functions here--> | ||
| <i> WHEN condition</i> - The condition expression to evaluate. <br> | ||
| <i> THEN result</i> - If <i>condition</i> evaluates to True then <i>result</i> is evaluated and returned. <br> | ||
| <i> ELSE result</i> - If none of the above conditions evaluated to True then <i>result</i> is evaluated and returned. <br> | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <pre> | ||
| CASE | ||
| WHEN <i>"column" IS NULL</i> THEN <i>'None'</i> | ||
| END | ||
| </pre> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| FILE(GLOB HELP_FILES *-*) | ||
|
|
||
| INSTALL(FILES ${HELP_FILES} DESTINATION ${QGIS_DATA_DIR}/resources/function_help) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <h3>Datum- und Zeitgruppe</h3> | ||
| Diese Gruppe enthält Funktion zur Verarbeitung von Daten und Zeiten. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <h3>Date and Time Group</h3> | ||
| This group contains functions for handling date and time data. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| <h3>Funktion age()</h3> | ||
| Gibt den Unterschied zwischen zwei Daten zurĂĽck. | ||
| <br><br> | ||
| Der Unterschied wird als <code>Intervall</code> zurĂĽckgegeben | ||
| und muĂź mit folgenden Funktionen weiterverarbeitet werde, um | ||
| sinnvolle Informationen zu erhalten: | ||
| ><code>year</code> | ||
| <li><code>month</code> | ||
| <li><code>week</code> | ||
| <li><code>day</code> | ||
| <li><code>hour</code> | ||
| <li><code>minute</code> | ||
| <li><code>second</code> | ||
| </ul> | ||
| <h4>Syntax</h4> | ||
| <code>age(zeichenkette,zeichenkette)</code><br> | ||
| <code>age(datetime,datetime)</code><br> | ||
| <code>age(zeichenkette,datetime)</code><br> | ||
| <code>age(datetime,zeichenkette)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>zeichenkette</code> - ist string. Eine Zeichenkette in Datumsformat. <br> | ||
| <code>datetime</code> - ist date oder datetime. Eine Datums oder eine Zeit. | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <code>age('2012-05-12','2012-05-2') → Intervall</code><br> | ||
| <code>day</code> benutzen um die Anzahl der Tage zur bestimmen<br> | ||
| <code>day(age('2012-05-12','2012-05-2')) → 10</code><br> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| <h3>age() function</h3> | ||
| Returns the difference between two dates. | ||
| <br><br> | ||
| The difference is returned as a <code>Interval</code> | ||
| and needs to be used with one of the following functions | ||
| in order to extract useful information: | ||
| <ul> | ||
| <li><code>year</code> | ||
| <li><code>month</code> | ||
| <li><code>week</code> | ||
| <li><code>day</code> | ||
| <li><code>hour</code> | ||
| <li><code>minute</code> | ||
| <li><code>second</code> | ||
| </ul> | ||
| <h4>Syntax</h4> | ||
| <code>age(string,string)</code><br> | ||
| <code>age(datetime,datetime)</code><br> | ||
| <code>age(string,datetime)</code><br> | ||
| <code>age(datetime,string)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>string</code> - is string. A string in date format. | ||
| <br> | ||
| <code>datetime</code> - is date or datetime. A date or datetime type. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>age('2012-05-12','2012-05-2') → Interval</code><br> | ||
| use <code>day</code> to extract number of days<br> | ||
| <code>day(age('2012-05-12','2012-05-2')) → 10</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <h3>Funktion day()</h3> | ||
| Tag eines Datum oder Anzahl der Tage eines <code>Intervalls</code>. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>day(date)</code><br> | ||
| <code>day(Intervall)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>date</code> - ist date oder datetime. Das Datum oder die Zeit dessen Tag bestimmt werden soll. | ||
| <br> | ||
| <code>Interval</code> - ist Interval. Das Interval aus dem die Anzahl der Tage bestimmt werden soll. | ||
|
|
||
| <h4>Beispiele</h4> | ||
| <!-- Show example of function.--> | ||
| <code>day('2012-05-12') → 12</code><br> | ||
| <code>day(tointerval('3 days')) → 3</code><br> | ||
| <code>day(age('2012-01-01','2010-01-01')) → 730</code><br> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <h3>day() function</h3> | ||
| Extract the day from a date, or the number of days | ||
| from a <code>Interval</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>day(date)</code><br> | ||
| <code>day(Interval)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>date</code> - is date or datetime. The date to extract the day from. | ||
| <br> | ||
| <code>Interval</code> - is Interval. The Interval to return the number of days from. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>day('2012-05-12') → 12</code><br> | ||
| <code>day(tointerval('3 days')) → 3</code><br> | ||
| <code>day(age('2012-01-01','2010-01-01')) → 730</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <h3>Funktion hour()</h3> | ||
| Bestimmt die Stunde eines Datums/Zeit oder die Anzahl der Stunden | ||
| aus einem <code>Intervall</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>hour(datetime)</code><br> | ||
| <code>hour(Intervall)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>date</code> - ist date oder datetime. Das Datum/die Zeit dessen Stunde bestimmt werden soll. | ||
| <br> | ||
| <code>Intervall</code> - ist Interval. Das Intervall aus der die Stundenzahl bestimmt werden soll. | ||
|
|
||
| <h4>Beispiele</h4> | ||
| <!-- Show example of function.--> | ||
| <code>hour('2012-07-22T13:24:57') → 13</code><br> | ||
| <code>hour(tointerval('3 hours')) → 3</code><br> | ||
| <code>hour(age('2012-07-22T13:00:00','2012-07-22T10:00:00')) → 3</code><br> | ||
| <code>hour(age('2012-01-01','2010-01-01')) → 17520</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <h3>hour() function</h3> | ||
| Extract the hour from a datetime or time, or the number of hours | ||
| from a <code>Interval</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>hour(datetime)</code><br> | ||
| <code>hour(Interval)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>date</code> - is datetime or time. The date to extract the hour from. | ||
| <br> | ||
| <code>Interval</code> - is Interval. The Interval to return the number of hours from. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>hour('2012-07-22T13:24:57') → 13</code><br> | ||
| <code>hour(tointerval('3 hours')) → 3</code><br> | ||
| <code>hour(age('2012-07-22T13:00:00','2012-07-22T10:00:00')) → 3</code><br> | ||
| <code>hour(age('2012-01-01','2010-01-01')) → 17520</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <h3>Funktion left()</h3> | ||
| Ergibt ersten <i>n</i> Zeichen von links. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>left(zeichenkette, laenge)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>zeichenkette</code> - ist eine Zeichenkette. Die Zeichenkette. | ||
| <br> | ||
| <code>laenge</code> - ist eine Zahl. Die Anzahl der zurĂĽckzugebenden Zeichen. | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <code>left('Hallo Welt',5) → 'Hallo'</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <h3>left() function</h3> | ||
| Returns a substring that contains the <i>n</i> leftmost characters of the string. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>left(string, length)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>string</code> - is string. The string. | ||
| <br> | ||
| <code>length</code> - is int. The number of characters from the left to return. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>left('Hello World',5) → 'Hello'</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <h3>Funktion lpad()</h3> | ||
| Ergibt eine mit einem am Ende mit einem Zeichen auf eine bestimmte Länge aufgefüllte Zeichenkette. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>lpad(zeichenkette, laenge, fuellzeichen)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>zeichenkette</code> - ist string. Die Zeichenkette. | ||
| <br> | ||
| <code>laenge</code> - ist int. Die Länge der neuen Zeichenkette. | ||
| <br> | ||
| <code>fuellzeichen</code> - ist char. Das Zeichen mit dem die Zeichenkette am Ende aufgefĂĽllt werden soll. | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <code>lpad('Hallo', 10, 'x') → 'Halloxxxxx'</code><br> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <h3>lpad() function</h3> | ||
| Returns a string with supplied width padded | ||
| using the fill character. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>lpad(string, length, fill)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>string</code> - is string. The string. | ||
| <br> | ||
| <code>length</code> - is int. The length of the new string. | ||
| <br> | ||
| <code>fill</code> - is char. The character to padd the remaining space with. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>lpad('Hello', 10, 'x') → 'Helloxxxxx'</code><br> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <h3>Funktion minute()</h3> | ||
| Bestimmt die Minute eines Datums/Zeit oder die Anzahl der Minuten | ||
| eines <code>Intervalls</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>minute(datetime)</code><br> | ||
| <code>minute(Intervall)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>datetime</code> - ist datetime oder time. Das Datum aus der die Minute bestimmt werden soll.<br> | ||
| <code>Interval</code> - is Interval. Das Intervall aus dem die Minutenanzahl bestimmt werden soll. | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <code>minute('2012-07-22T13:24:57') → 24</code><br> | ||
| <code>minute(tointerval('3 minutes')) → 3</code><br> | ||
| <code>minute(age('2012-07-22T00:20:00','2012-07-22T00:00:00')) → 20</code><br> | ||
| <code>minute(age('2012-01-01','2010-01-01')) → 1051200</code><br> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <h3>minute() function</h3> | ||
| Extract the minute from a datetime or time, or the number of minutes | ||
| from a <code>Interval</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>minute(datetime)</code><br> | ||
| <code>minute(Interval)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>date</code> - is datetime or time. The date to extract the minute from. | ||
| <br> | ||
| <code>Interval</code> - is Interval. The Interval to return the number of minutes from. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>minute('2012-07-22T13:24:57') → 24</code><br> | ||
| <code>minute(tointerval('3 minutes')) → 3</code><br> | ||
| <code>minute(age('2012-07-22T00:20:00','2012-07-22T00:00:00')) → 20</code><br> | ||
| <code>minute(age('2012-01-01','2010-01-01')) → 1051200</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <h3>month() function</h3> | ||
| Bestimmt den Monat eines Datums/Zeit oder die Anzahl der Monate | ||
| aus einem <code>Intervall</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>month(date)</code><br> | ||
| <code>month(Intervall)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>date</code> - ist date oder datetime. Das Datum aus dem der Monat bestimmt werden soll.<br> | ||
| <code>Interval</code> - ist Interval. Das Intervall dessen Monatsanzahl zurĂĽckgegeben werden soll. | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <code>month('2012-05-12') → 05</code><br> | ||
| <code>month(tointerval('3 months')) → 3</code><br> | ||
| <code>month(age('2012-01-01','2010-01-01')) → 4.033...</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <h3>month() function</h3> | ||
| Extract the month part from a date, or the number of months | ||
| from a <code>Interval</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>month(date)</code><br> | ||
| <code>month(Interval)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>date</code> - is date or datetime. The date to extract the month from. | ||
| <br> | ||
| <code>Interval</code> - is Interval. The Interval to return the number of months from. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>month('2012-05-12') → 05</code><br> | ||
| <code>month(tointerval('3 months')) → 3</code><br> | ||
| <code>month(age('2012-01-01','2010-01-01')) → 4.033...</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <h3>Funktion right()</h3> | ||
| Ergibt letzten <i>n</i> Zeichen von rechts. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>right(zeichenkette,laenge)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>string</code> - ist string. Die Zeichenkette. | ||
| <br> | ||
| <code>laenge</code> - ist int. Die Anzahl der von rechts zurĂĽckzugebenden Zeichen von rechts. | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <code>right('Hallo Welt',4) → 'Welt'</code><br> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <h3>right() function</h3> | ||
| Returns a substring that contains the <i>n</i> rightmost characters of the string. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>right(string, pos)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>string</code> - is string. The string. | ||
| <br> | ||
| <code>length</code> - is int. The numbder of characters from the right to return. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>right('Hello World',5) → 'World'</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <h3>Funktion rpad()</h3> | ||
| Ergibt eine mit einem am Anfang mit einem Zeichen auf eine bestimmte Länge aufgefüllte Zeichenkette. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>rpad(zeichenkette, laenge, fuellzeichen)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>zeichenkette</code> - ist string. Die Zeichenkette. <br> | ||
| <code>laenge</code> - ist int. Die Länge der neuen Zeichenkette. <br> | ||
| <code>fuellzeichen</code> - ist char. Das Zeichen mit dem die Zeichenkette aufgefĂĽllt werden soll. | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <code>rpad('Hallo', 10, 'x') → 'xxxxxHallo'</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <h3>rpad() function</h3> | ||
| Returns a string with supplied width padded | ||
| using the fill character. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>rpad(string, width, fill)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>string</code> - is string. The string. | ||
| <br> | ||
| <code>width</code> - is int. The length of the new string. | ||
| <br> | ||
| <code>fill</code> - is char. The character to padd the remaining space with. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>rpad('Hello', 10, 'x') → 'xxxxxHello'</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <h3>Funktion second()</h3> | ||
| Bestimmt die Sekunde eines Datums/Zeit oder die Anzahl der Sekunden | ||
| aus einem <code>Intervall</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>second(datetime)</code><br> | ||
| <code>second(Intervall)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>date</code> - ist datetime oder time. Das Datum dessen Sekunden bestimmt werden sollen.<br> | ||
| <code>Intervall</code> - ist Interval. Ergib die Intervalllänge in Sekunden. | ||
|
|
||
| <h4>Beispiele</h4> | ||
| <!-- Show example of function.--> | ||
| <code>second('2012-07-22T13:24:57') → 57</code><br> | ||
| <code>second(tointerval('3 seconds')) → 3</code><br> | ||
| <code>second(age('2012-07-22T00:20:00','2012-07-22T00:00:00')) → 1200</code><br> | ||
| <code>second(age('2012-01-01','2010-01-01')) → 63072000</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <h3>second() function</h3> | ||
| Extract the seconds from a datetime or time, or the number of seconds | ||
| from a <code>Interval</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>second(datetime)</code><br> | ||
| <code>second(Interval)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>date</code> - is datetime or time. The date to extract the second from. | ||
| <br> | ||
| <code>Interval</code> - is Interval. The Interval to return the number of seconds from. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>second('2012-07-22T13:24:57') → 57</code><br> | ||
| <code>second(tointerval('3 seconds')) → 3</code><br> | ||
| <code>second(age('2012-07-22T00:20:00','2012-07-22T00:00:00')) → 1200</code><br> | ||
| <code>second(age('2012-01-01','2010-01-01')) → 63072000</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <h3>Funktion week()</h3> | ||
| Bestimmt die Woche eines Datums oder die Anzahl der Wochen | ||
| eines <code>Intervalls</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>week(date)</code><br> | ||
| <code>week(Interval)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>date</code> - ist date oder datetime. Das Datum dessen Woche zurĂĽckgegeben werden soll. | ||
| <br> | ||
| <code>Interval</code> - ist Interval. Das Intervall dessen Länge in Wochen zurückgegeben werden soll. | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <code>week('2012-05-12') → 19</code><br> | ||
| <code>week(tointerval('3 weeks')) → 3</code><br> | ||
| <code>week(age('2012-01-01','2010-01-01')) → 104.285...</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <h3>week() function</h3> | ||
| Extract the week number from a date, or the number of weeks | ||
| from a <code>Interval</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>week(date)</code><br> | ||
| <code>week(Interval)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>date</code> - is date or datetime. The date to extract the week from. | ||
| <br> | ||
| <code>Interval</code> - is Interval. The Interval to return the number of weeks from. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>week('2012-05-12') → 19</code><br> | ||
| <code>week(tointerval('3 weeks')) → 3</code><br> | ||
| <code>week(age('2012-01-01','2010-01-01')) → 104.285...</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <h3>Funktion year()</h3> | ||
| Bestimmt das Jahr eines Datums oder die Länge eines <code>Intervals</code> in Jahren. | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>year(date)</code><br> | ||
| <code>year(Interval)</code><br> | ||
|
|
||
| <h4>Argumente</h4> | ||
| <code>date</code> - ist date oder datetime. Das Datum dessen Jahr zurĂĽckgegeben werden soll.<br> | ||
| <code>Interval</code> - ist Interval. Das Interval dessen Länge in Jahren zurückgegeben werden soll. | ||
|
|
||
| <h4>Beispiel</h4> | ||
| <!-- Show example of function.--> | ||
| <code>year('2012-05-12') → 2012</code><br> | ||
| <code>year(tointerval('3 Years')) → 3</code><br> | ||
| <code>year(age('2012-01-01','2010-01-01')) → 1.9986..</code><br> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <h3>year() function</h3> | ||
| Extract the year part from a date, or the number of years | ||
| from a <code>Interval</code> | ||
|
|
||
| <h4>Syntax</h4> | ||
| <code>year(date)</code><br> | ||
| <code>year(Interval)</code><br> | ||
|
|
||
| <h4>Arguments</h4> | ||
| <code>date</code> - is date or datetime. The date to extract the year from. | ||
| <br> | ||
| <code>Interval</code> - is Interval. The Interval to return the number of years from. | ||
|
|
||
| <h4>Example</h4> | ||
| <!-- Show example of function.--> | ||
| <code>year('2012-05-12') → 2012</code><br> | ||
| <code>year(tointerval('3 Years')) → 3</code><br> | ||
| <code>year(age('2012-01-01','2010-01-01')) → 1.9986..</code><br> | ||
|
|