From 0345245e860375a32c9a437c4a9d9cae807134e9 Mon Sep 17 00:00:00 2001 From: Shashank Date: Mon, 29 May 2017 12:40:26 +0530 Subject: CMSCOPE changed --- modules/time/help/en_US/addchapter.sce | 11 +++ modules/time/help/en_US/calendar.xml | 47 ++++++++++ modules/time/help/en_US/clock.xml | 57 +++++++++++ modules/time/help/en_US/date.xml | 63 +++++++++++++ modules/time/help/en_US/datenum.xml | 97 +++++++++++++++++++ modules/time/help/en_US/datevec.xml | 65 +++++++++++++ modules/time/help/en_US/eomday.xml | 79 ++++++++++++++++ modules/time/help/en_US/etime.xml | 107 +++++++++++++++++++++ modules/time/help/en_US/getdate.xml | 157 +++++++++++++++++++++++++++++++ modules/time/help/en_US/now.xml | 54 +++++++++++ modules/time/help/en_US/realtime.xml | 104 +++++++++++++++++++++ modules/time/help/en_US/sleep.xml | 48 ++++++++++ modules/time/help/en_US/tic.xml | 52 +++++++++++ modules/time/help/en_US/timer.xml | 62 ++++++++++++ modules/time/help/en_US/toc.xml | 67 +++++++++++++ modules/time/help/en_US/weekday.xml | 52 +++++++++++ modules/time/help/fr_FR/addchapter.sce | 11 +++ modules/time/help/fr_FR/calendar.xml | 47 ++++++++++ modules/time/help/fr_FR/date.xml | 63 +++++++++++++ modules/time/help/fr_FR/datenum.xml | 97 +++++++++++++++++++ modules/time/help/fr_FR/datevec.xml | 65 +++++++++++++ modules/time/help/fr_FR/eomday.xml | 80 ++++++++++++++++ modules/time/help/fr_FR/etime.xml | 107 +++++++++++++++++++++ modules/time/help/fr_FR/getdate.xml | 157 +++++++++++++++++++++++++++++++ modules/time/help/fr_FR/now.xml | 54 +++++++++++ modules/time/help/fr_FR/sleep.xml | 46 +++++++++ modules/time/help/fr_FR/tic.xml | 52 +++++++++++ modules/time/help/fr_FR/timer.xml | 65 +++++++++++++ modules/time/help/fr_FR/toc.xml | 67 +++++++++++++ modules/time/help/fr_FR/weekday.xml | 54 +++++++++++ modules/time/help/ja_JP/addchapter.sce | 11 +++ modules/time/help/ja_JP/calendar.xml | 51 ++++++++++ modules/time/help/ja_JP/clock.xml | 59 ++++++++++++ modules/time/help/ja_JP/date.xml | 63 +++++++++++++ modules/time/help/ja_JP/datenum.xml | 89 ++++++++++++++++++ modules/time/help/ja_JP/datevec.xml | 65 +++++++++++++ modules/time/help/ja_JP/eomday.xml | 48 ++++++++++ modules/time/help/ja_JP/etime.xml | 112 ++++++++++++++++++++++ modules/time/help/ja_JP/getdate.xml | 166 +++++++++++++++++++++++++++++++++ modules/time/help/ja_JP/now.xml | 54 +++++++++++ modules/time/help/ja_JP/realtime.xml | 104 +++++++++++++++++++++ modules/time/help/ja_JP/sleep.xml | 49 ++++++++++ modules/time/help/ja_JP/tic.xml | 53 +++++++++++ modules/time/help/ja_JP/timer.xml | 63 +++++++++++++ modules/time/help/ja_JP/toc.xml | 69 ++++++++++++++ modules/time/help/ja_JP/weekday.xml | 61 ++++++++++++ modules/time/help/pt_BR/addchapter.sce | 11 +++ modules/time/help/pt_BR/date.xml | 65 +++++++++++++ modules/time/help/pt_BR/etime.xml | 113 ++++++++++++++++++++++ modules/time/help/pt_BR/getdate.xml | 163 ++++++++++++++++++++++++++++++++ modules/time/help/pt_BR/tic.xml | 60 ++++++++++++ modules/time/help/pt_BR/toc.xml | 75 +++++++++++++++ modules/time/help/ru_RU/addchapter.sce | 11 +++ 53 files changed, 3702 insertions(+) create mode 100755 modules/time/help/en_US/addchapter.sce create mode 100755 modules/time/help/en_US/calendar.xml create mode 100755 modules/time/help/en_US/clock.xml create mode 100755 modules/time/help/en_US/date.xml create mode 100755 modules/time/help/en_US/datenum.xml create mode 100755 modules/time/help/en_US/datevec.xml create mode 100755 modules/time/help/en_US/eomday.xml create mode 100755 modules/time/help/en_US/etime.xml create mode 100755 modules/time/help/en_US/getdate.xml create mode 100755 modules/time/help/en_US/now.xml create mode 100755 modules/time/help/en_US/realtime.xml create mode 100755 modules/time/help/en_US/sleep.xml create mode 100755 modules/time/help/en_US/tic.xml create mode 100755 modules/time/help/en_US/timer.xml create mode 100755 modules/time/help/en_US/toc.xml create mode 100755 modules/time/help/en_US/weekday.xml create mode 100755 modules/time/help/fr_FR/addchapter.sce create mode 100755 modules/time/help/fr_FR/calendar.xml create mode 100755 modules/time/help/fr_FR/date.xml create mode 100755 modules/time/help/fr_FR/datenum.xml create mode 100755 modules/time/help/fr_FR/datevec.xml create mode 100755 modules/time/help/fr_FR/eomday.xml create mode 100755 modules/time/help/fr_FR/etime.xml create mode 100755 modules/time/help/fr_FR/getdate.xml create mode 100755 modules/time/help/fr_FR/now.xml create mode 100755 modules/time/help/fr_FR/sleep.xml create mode 100755 modules/time/help/fr_FR/tic.xml create mode 100755 modules/time/help/fr_FR/timer.xml create mode 100755 modules/time/help/fr_FR/toc.xml create mode 100755 modules/time/help/fr_FR/weekday.xml create mode 100755 modules/time/help/ja_JP/addchapter.sce create mode 100755 modules/time/help/ja_JP/calendar.xml create mode 100755 modules/time/help/ja_JP/clock.xml create mode 100755 modules/time/help/ja_JP/date.xml create mode 100755 modules/time/help/ja_JP/datenum.xml create mode 100755 modules/time/help/ja_JP/datevec.xml create mode 100755 modules/time/help/ja_JP/eomday.xml create mode 100755 modules/time/help/ja_JP/etime.xml create mode 100755 modules/time/help/ja_JP/getdate.xml create mode 100755 modules/time/help/ja_JP/now.xml create mode 100755 modules/time/help/ja_JP/realtime.xml create mode 100755 modules/time/help/ja_JP/sleep.xml create mode 100755 modules/time/help/ja_JP/tic.xml create mode 100755 modules/time/help/ja_JP/timer.xml create mode 100755 modules/time/help/ja_JP/toc.xml create mode 100755 modules/time/help/ja_JP/weekday.xml create mode 100755 modules/time/help/pt_BR/addchapter.sce create mode 100755 modules/time/help/pt_BR/date.xml create mode 100755 modules/time/help/pt_BR/etime.xml create mode 100755 modules/time/help/pt_BR/getdate.xml create mode 100755 modules/time/help/pt_BR/tic.xml create mode 100755 modules/time/help/pt_BR/toc.xml create mode 100755 modules/time/help/ru_RU/addchapter.sce (limited to 'modules/time/help') diff --git a/modules/time/help/en_US/addchapter.sce b/modules/time/help/en_US/addchapter.sce new file mode 100755 index 000000000..acd4f7b0e --- /dev/null +++ b/modules/time/help/en_US/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Time and Date",SCI+"/modules/time/help/en_US",%T); + diff --git a/modules/time/help/en_US/calendar.xml b/modules/time/help/en_US/calendar.xml new file mode 100755 index 000000000..bfff38020 --- /dev/null +++ b/modules/time/help/en_US/calendar.xml @@ -0,0 +1,47 @@ + + + + + calendar + Calendar + + + Calling Sequence + c=calendar() + c = calendar(y,m) + + + + Description + c = calendar returns a list containing a calendar for the current month. The calendar runs Sunday to Saturday. + c = calendar(y,m), where y and m are integers, returns a calendar for the specified month of the specified year. + + + Examples + + + + See Also + + + datevec + + + datenum + + + + diff --git a/modules/time/help/en_US/clock.xml b/modules/time/help/en_US/clock.xml new file mode 100755 index 000000000..21f606d4e --- /dev/null +++ b/modules/time/help/en_US/clock.xml @@ -0,0 +1,57 @@ + + + + + clock + Return current time as date vector + + + Calling Sequence + c = clock + + + Description + c = clock returns a 6-element date vector containing the current date and time in decimal form: + c = [year month day hour minute seconds] + the first five elements are integers. The seconds element is accurate to several digits beyond the decimal point. + + + Examples + + + + See Also + + + datenum + + + datevec + + + timer + + + etime + + + tic + + + toc + + + + diff --git a/modules/time/help/en_US/date.xml b/modules/time/help/en_US/date.xml new file mode 100755 index 000000000..ca350dc68 --- /dev/null +++ b/modules/time/help/en_US/date.xml @@ -0,0 +1,63 @@ + + + + + date + Current date as date string + + + Calling Sequence + dt=date() + + + Arguments + + + dt + + a string + + + + + + Description + dt=date() returns a string containing the date in dd-mmm-yyyy format. + + + Examples + + + + See Also + + + getdate + + + toc + + + tic + + + timer + + + etime + + + + diff --git a/modules/time/help/en_US/datenum.xml b/modules/time/help/en_US/datenum.xml new file mode 100755 index 000000000..c8b7d9586 --- /dev/null +++ b/modules/time/help/en_US/datenum.xml @@ -0,0 +1,97 @@ + + + + + datenum + Convert to serial date number + + + Calling Sequence + N = datenum() + N = datenum(DT) + N = datenum(Y, M, D) + N = datenum(Y, M, D, H, MI, S) + + + + Description + + The datenum function converts date vectors (defined by datevec) into + serial date numbers. Date numbers are serial days elapsed from some + reference date. By default, the serial day 1 corresponds to 1-Jan-0000. + + + N = datenum() returns the serial date numbers corresponding to current date. + + + N = datenum(DT) converts one or more date vectors to serial date number N. + DT can be an m-by-6 or m-by-3 matrix containing m full or partial date vector + respectively. + + + N = datenum(Y, M, D) returns the serial date numbers for corresponding elements + of the Y, M, and D (year, month, day) arrays. Y, M and D must be arrays of the same + size (or any can be a scalar). + + + N = datenum(Y, M, D, H, MI, S) returns the serial date numbers for + corresponding elements of the Y, M, D, H, MI, and S (year, month, day, + hour, minute, and second) array values.Y, M, D, H, MI, and S must be arrays of + the same size (or any can be a scalar). + + + + Examples + + + + See Also + + + datevec + + + calendar + + + + diff --git a/modules/time/help/en_US/datevec.xml b/modules/time/help/en_US/datevec.xml new file mode 100755 index 000000000..1d7ee4c0d --- /dev/null +++ b/modules/time/help/en_US/datevec.xml @@ -0,0 +1,65 @@ + + + + + datevec + Date components + + + Calling Sequence + V=datevec(DT) + [Y,M,D,H,MI,S]=datevec(DT) + + + + Description + + V = datevec(DT) converts a serial date number (defined by datenum) to a + date vector V having elements [year, month, day, hour, minute, second]. + The first five vector elements are integers. DT can be an array. + + + [Y, M, D, H, MI, S] = datevec(DT) returns the components of the date + vector as individual variables. DT can be an array. + + + + Examples + + + + See Also + + + datenum + + + calendar + + + + diff --git a/modules/time/help/en_US/eomday.xml b/modules/time/help/en_US/eomday.xml new file mode 100755 index 000000000..2d9bd42bf --- /dev/null +++ b/modules/time/help/en_US/eomday.xml @@ -0,0 +1,79 @@ + + + + + eomday + Return last day of month + + + Calling Sequence + E = eomday(Y, M) + + + Arguments + + + Y + + a vector/matrix containing integers values. + + + + + + M + + a vector/matrix containing integers values. + + + + + + E + + a vector/matrix containing integers values. + + + + + + Description + + E= eomday(Y, M) returns the last day of the year and month + given by corresponding elements of matrices Y and M. + + + Y and M must have the same sizes. + + + + Examples + + + + See Also + + + datenum + + + datevec + + + weekday + + + + diff --git a/modules/time/help/en_US/etime.xml b/modules/time/help/en_US/etime.xml new file mode 100755 index 000000000..f95e6c886 --- /dev/null +++ b/modules/time/help/en_US/etime.xml @@ -0,0 +1,107 @@ + + + + + etime + Elapsed time + + + Calling Sequence + e = etime(t2,t1) + + + Arguments + + + t2 + + a vector with 6 or 10 values. + + + + t1 + + a vector with 6 or 10 values. + + + + e + + + number of seconds between t2 and t1. + + + + + + + Description + + + t1 and t2 with 10 values + + + t2 and t1 must have format returned by getdate. + In this case, their third, fourth and fifth values are ignored. + + + + + t1 and t2 with 6 values + + + t2 and t1 must have format: T = [Year Month Day Hour Minute Second] + with Second a number of seconds with milliseconds (e.g: 12.345). + + + + + + t2 and t1 must have the same size. + + + t2 et t1 can be matrices with each line containing a format described above (all lines having same format). + + + + Examples + + + + See Also + + + tic + + + toc + + + getdate + + + datenum + + + datevec + + + + diff --git a/modules/time/help/en_US/getdate.xml b/modules/time/help/en_US/getdate.xml new file mode 100755 index 000000000..c29e19192 --- /dev/null +++ b/modules/time/help/en_US/getdate.xml @@ -0,0 +1,157 @@ + + + + + getdate + get date and time information + + + Calling Sequence + dt=getdate() + x=getdate("s") + dt=getdate(x) + + + + Arguments + + + dt + + an integer vector with 10 entries (see below) + + + + x + + an integer containing a date coded in second from 1 Jan 1970 + + + + + + Description + + + dt=getdate() + + returns the current date in format given below: + + + dt(1) + + The year as a number (with the century) between 0000 and 9999. + + + + dt(2) + + The month of the year as a number between 01 and 12. + + + + dt(3) + + The ISO 8601 week number as a number between 01 and 53. + + + + dt(4) + + The Julian day of the year as a number between 001 and 366. + + + + dt(5) + + Specifies the weekday as a decimal number [1,7], with 1 representing Sunday. + + + + dt(6) + + The day of the month as a number between 01 and 31. + + + + dt(7) + + The hour of the day is output as a number between 00 and 23. + + + + dt(8) + + The minute is output as a number between 00 and 59. + + + + dt(9) + + The second is output as a number between 00 and 59. + + + + dt(10) + + The millisecond is output as a number between 000 and 999. + + + + + + + x=getdate("s") + + returns a scalar with the number of seconds since Jan 1, 1970, 00:00 UTC (Unix Time Convention) + + Please note that the return value contains the leap seconds. + + + + + dt=getdate(x) + + formats the date given by x (number of seconds since Jan 1, 1970, 00:00 UTC) in format given above. + In this case dt(10) is always equal to 0. + + + getdate(0) will return Jan 1, 1970, 00:00 if the time zone concerned is UTC, but if the time zone is UTC+1, hour + returned will be 01:00. + + + + + + + Examples + + + + See Also + + + date + + + timer + + + + diff --git a/modules/time/help/en_US/now.xml b/modules/time/help/en_US/now.xml new file mode 100755 index 000000000..c243b5544 --- /dev/null +++ b/modules/time/help/en_US/now.xml @@ -0,0 +1,54 @@ + + + + + now + Return current date under the form of a Unix hour (timestamp) + + + Calling Sequence + t = now() + + + Description + + t = now() returns date and time as a serial date number. (See datenum) + + + + Examples + + + + See Also + + + clock + + + datenum + + + datevec + + + + diff --git a/modules/time/help/en_US/realtime.xml b/modules/time/help/en_US/realtime.xml new file mode 100755 index 000000000..6191aac04 --- /dev/null +++ b/modules/time/help/en_US/realtime.xml @@ -0,0 +1,104 @@ + + + + + realtimeinit + set time unit + + + realtime + set dates origin or waits until date + + + Calling Sequence + realtimeinit(time_unit) + realtime(t) + + + + Arguments + + + time_unit + + + a real number. The number of seconds associated to the realtime argument + + + + + t + + a real number. A date + + + + + + Description + These two functions can be used to handle real time into Scilab. + + realtimeinit(time_unit) defines the time unit + associated to the realtime argument t + + + first call to realtime(t0) sets current date to + (t0). + subsequent calls to realtime(t) wait till date t is + reached. + + + + Examples + + + + + + See Also + + + getdate + + + + diff --git a/modules/time/help/en_US/sleep.xml b/modules/time/help/en_US/sleep.xml new file mode 100755 index 000000000..bd8bf9a7d --- /dev/null +++ b/modules/time/help/en_US/sleep.xml @@ -0,0 +1,48 @@ + + + + + sleep + suspend Scilab + + + Calling Sequence + sleep(milliseconds) + + + Description + + sleep : Sleep process for specified number of miliseconds + specified by the argument. The actual suspension time may be longer + because of other activities in the system, or because of the time spent in + processing the call. + + + + Examples + + + + See Also + + + xpause + + + pause + + + + diff --git a/modules/time/help/en_US/tic.xml b/modules/time/help/en_US/tic.xml new file mode 100755 index 000000000..5d6e7e1df --- /dev/null +++ b/modules/time/help/en_US/tic.xml @@ -0,0 +1,52 @@ + + + + + tic + start a stopwatch timer + + + Calling Sequence + tic() + + + Description + + The sequence of commands tic(); operation; toc(); prints the number of seconds required for the operation. + + + + Examples + + + + See Also + + + toc + + + timer + + + etime + + + + diff --git a/modules/time/help/en_US/timer.xml b/modules/time/help/en_US/timer.xml new file mode 100755 index 000000000..073965e97 --- /dev/null +++ b/modules/time/help/en_US/timer.xml @@ -0,0 +1,62 @@ + + + + + timer + cpu time + + + Calling Sequence + timer() + + + Description + Returns the CPU time since the preceding call to + timer(). + + timer has a time precision of 100 nanoseconds. + + + NOTE: CPU time is the number of processor cycles used for a + computation. This is not at all equivalent to real-world time. + + + CPU time can be used to compare CPU usage between different programs + or functions , irrespective of background processes that might slow down + the computer. + + + + Examples + + + + See Also + + + getdate + + + toc + + + tic + + + etime + + + + diff --git a/modules/time/help/en_US/toc.xml b/modules/time/help/en_US/toc.xml new file mode 100755 index 000000000..7ff2c478e --- /dev/null +++ b/modules/time/help/en_US/toc.xml @@ -0,0 +1,67 @@ + + + + + toc + Read the stopwatch timer + + + Calling Sequence + toc() + t = toc() + + + + Arguments + + + t + + + number of seconds since last call to tic() (Precision in order of millisecond). + + + + + + + Description + + The sequence of commands tic(); operation; toc(); prints the number of seconds required for the operation. + + + + Examples + + + + See Also + + + tic + + + timer + + + etime + + + + diff --git a/modules/time/help/en_US/weekday.xml b/modules/time/help/en_US/weekday.xml new file mode 100755 index 000000000..3a1e1b102 --- /dev/null +++ b/modules/time/help/en_US/weekday.xml @@ -0,0 +1,52 @@ + + + + + weekday + Return day of week + + + Calling Sequence + [N,S] = weekday(D) + [N,S] = weekday(D, form) + + + + Description + [N,S] = weekday(D) returns the day of the week in numeric(N) and string(S) form for a given serial date number or date string D. Input argument D can represent more than one date in an array of serial date number. + [N,S] = weekday(D, form) returns the week in numeric(N) and string(S) form, where the content of S depends on the form argument. If form is 'long', then S countains the full name of the weekday (e.g, Thuesday). If form is 'short', then S contains an abbreviated name (e.g., Tue) from this table. + + + Examples + + + + See Also + + + datenum + + + datevec + + + weekday + + + + diff --git a/modules/time/help/fr_FR/addchapter.sce b/modules/time/help/fr_FR/addchapter.sce new file mode 100755 index 000000000..3ffeead1f --- /dev/null +++ b/modules/time/help/fr_FR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Heure et date",SCI+"/modules/time/help/fr_FR",%T); + diff --git a/modules/time/help/fr_FR/calendar.xml b/modules/time/help/fr_FR/calendar.xml new file mode 100755 index 000000000..312edde01 --- /dev/null +++ b/modules/time/help/fr_FR/calendar.xml @@ -0,0 +1,47 @@ + + + + + calendar + Calendrier + + + Séquence d'appel + c = calendar() + c = calendar(y,m) + + + + Description + c = calendar retourne une liste contenant le calendrier pour le mois en cours. Les semaines debutant le Dimanche(Sunday) et se terminant le Samedi(Saturday). + c = calendar(y,m), ou y et sont des entiers, retourne le calendrier pour le mois et l'annee specifie. + + + Exemples + + + + Voir aussi + + + datevec + + + datenum + + + + diff --git a/modules/time/help/fr_FR/date.xml b/modules/time/help/fr_FR/date.xml new file mode 100755 index 000000000..be1174f38 --- /dev/null +++ b/modules/time/help/fr_FR/date.xml @@ -0,0 +1,63 @@ + + + + + date + date courante sous forme d'une chaîne de caractères + + + Séquence d'appel + dt=date() + + + Paramètres + + + dt + + chaîne de caractères + + + + + + Description + dt=date() renvoie une chaîne de caractères contenant la date au format jj-mmm-aaaaa. + + + Exemples + + + + Voir aussi + + + getdate + + + toc + + + tic + + + timer + + + etime + + + + diff --git a/modules/time/help/fr_FR/datenum.xml b/modules/time/help/fr_FR/datenum.xml new file mode 100755 index 000000000..c4ff7e51a --- /dev/null +++ b/modules/time/help/fr_FR/datenum.xml @@ -0,0 +1,97 @@ + + + + + datenum + Convertie une date en un nombre + + + Séquence d'appel + N = datenum() + N = datenum(DT) + N = datenum(Y, M, D) + N = datenum(Y, M, D, H, MI, S) + + + + Description + + La fonction datenum convertie une date en un nombre lui correspondant. + Ce nombre correspond au nombre de jours passe depuis une date reference. + Par defaut, cette date est le 1-Jan-0000. + + + N = datenum() retourne le nombre correspondant a la date courante. + + + N = datenum(DT) retourne le nombre correspondant a la date représentée par + la matrice DT. DT est soit une matrice m * 3 ou une matrice m * 6 contenant + respectivement une date entiere (annee,mois,jour,heure,minute,seconde) ou une + date partielle (annee,mois,jour). + + + N = datenum(Y, M, D) retourne le nombre correspondant aux elements Y, + M, D (annee, mois, jour). Y, M et D peuvent être des matrices de même + dimensions ou de simples scalaires. + + + N = datenum(Y, M, D, H, MI, S) retourne le nombre correspondant aux + elements Y, M, D, H, MI, et S (annee, mois, jour, heure, minute, et + seconde).Y, M, D, H, MI, et S peuvent être des matrices de même + dimensions ou de simples scalaires. + + + + Exemples + + + + Voir aussi + + + datevec + + + calendar + + + + diff --git a/modules/time/help/fr_FR/datevec.xml b/modules/time/help/fr_FR/datevec.xml new file mode 100755 index 000000000..f518dafde --- /dev/null +++ b/modules/time/help/fr_FR/datevec.xml @@ -0,0 +1,65 @@ + + + + + datevec + Reconstruction d'un vecteur contenant une Date + + + Séquence d'appel + V=datevec(DT) + [Y,M,D,H,MI,S]=datevec(DT) + + + + Description + + V = datevec(DT) convertie un nombre (défini par datenum) en un vecteur + contenant une date dont les éléments sont [year, month, day, hour, minute, + second]. DT peut être une matrice. + + + [Y, M, D, H, MI, S] = datevec(DT) retourne les composants de la date dans 6 variables. + DT peut être une matrice. + + + + Exemples + + + + Voir aussi + + + datenum + + + calendar + + + + diff --git a/modules/time/help/fr_FR/eomday.xml b/modules/time/help/fr_FR/eomday.xml new file mode 100755 index 000000000..8f6a0ce2b --- /dev/null +++ b/modules/time/help/fr_FR/eomday.xml @@ -0,0 +1,80 @@ + + + + + eomday + Retourne le dernier jour d'un mois + + + Séquence d'appel + E = eomday(Y, M) + + + Paramètres + + + Y + + + Vecteur ou matrice contenant des valeurs entières. + + + + + M + + + Vecteur ou matrice contenant des valeurs entières. + + + + + E + + + Vecteur ou matrice contenant des valeurs entières. + + + + + + + Description + + E= eomday(Y, M) retourne le dernier jour du mois et de l'année passée en paramètre. + + + Y et M doivent avoir les mêmes dimensions. + + + + Exemples + + + + Voir aussi + + + datenum + + + datevec + + + weekday + + + + diff --git a/modules/time/help/fr_FR/etime.xml b/modules/time/help/fr_FR/etime.xml new file mode 100755 index 000000000..fc60838ac --- /dev/null +++ b/modules/time/help/fr_FR/etime.xml @@ -0,0 +1,107 @@ + + + + + etime + Temps écoulé + + + Séquence d'appel + e = etime(t2,t1) + + + Paramètres + + + t2 + + un vecteur de 6 ou 10 valeurs. + + + + t1 + + un vecteur de 6 ou 10 valeurs. + + + + e + + + nombre de secondes entre t2 et t1. + + + + + + + Description + + + t1 et t2 contenant 10 valeurs + + + : t2 et t1 doivent avoir le format retourné par getdate. + Dans ce cas, leurs troisièmes, quatrièmes et cinquièmes valeurs sont ignorées. + + + + + t1 et t2 contenant 6 valeurs + + + : t2 et t1 doivent avoir le format : T = [Year Month Day Hour Minute Second] + avec Second un nombre de secondes et de millisecondes (e.g: 12.345). + + + + + + t2 et t1 doivent être de même taille. + + + t2 et t1 peuvent être des matrices dont chaque ligne contient un format précisé ci-dessus (toutes les lignes du même format). + + + + Exemples + + + + Voir aussi + + + tic + + + toc + + + getdate + + + datenum + + + datevec + + + + diff --git a/modules/time/help/fr_FR/getdate.xml b/modules/time/help/fr_FR/getdate.xml new file mode 100755 index 000000000..64b2c7fea --- /dev/null +++ b/modules/time/help/fr_FR/getdate.xml @@ -0,0 +1,157 @@ + + + + + getdate + renvoie la date et l'heure + + + Séquence d'appel + dt=getdate() + x=getdate("s") + dt=getdate(x) + + + + Paramètres + + + dt + + un vecteur entier à 10 composantes (voir plus bas) + + + + x + + un entier contenant la date en secondes écoulées depuis le 1er Janvier 1970 + + + + + + Description + + + dt=getdate() + + renvoie la date courante au format expliqué ci-dessous : + + + dt(1) + + l'année (entier compris entre 0000 et 9999). + + + + dt(2) + + le mois (entier compris entre 01 et 12). + + + + dt(3) + + le numéro de semaine à la norme ISO 8601 (entier compris entre 01 et 53). + + + + dt(4) + + le jour du calendrier Julien (entier compris entre 000 et 366). + + + + dt(5) + + le jour de la semaine (entier compris entre 1 (dimanche) et 7). + + + + dt(6) + + le jour dans le mois (entier compris entre 01 et 31). + + + + dt(7) + + l'heure du jour (entier compris entre 00 et 23). + + + + dt(8) + + les minutes (entier compris entre 00 et 59). + + + + dt(9) + + les secondes (entier compris entre 00 et 59). + + + + dt(10) + + les millisecondes (entier compris entre 000 et 999). + + + + + + + x = getdate("s") + + renvoie un entier contenant le nombre de secondes écoulées depuis le 1er Janvier 1970, 00:00 UTC (Unix Time Convention). + + L'entier retourné prend en compte seconde intercalaire. + + + + + dt = getdate(x) + + renvoie dt au format ci-dessus, à partir de x (nombre de secondes depuis le 1er Janvier 1970). + Dans ce cas, dt(10) est toujours égal à 0. + + + getdate(0) va donc retourner le 1er Janvier 1970, avec l'heure UTC correspondante. Ainsi, le 1er Janvier 1970, 01:00 + sera renvoyé si l'heure UTC est définie et égale à UTC+1. + + + + + + + Exemples + + + + Voir aussi + + + date + + + timer + + + + diff --git a/modules/time/help/fr_FR/now.xml b/modules/time/help/fr_FR/now.xml new file mode 100755 index 000000000..f628c26e6 --- /dev/null +++ b/modules/time/help/fr_FR/now.xml @@ -0,0 +1,54 @@ + + + + + now + retourne la date courante sous forme d'une heure Unix (timestamp) + + + Séquence d'appel + t = now() + + + Description + + t = now() la date et l'heure courante en un nombre lui correspondant (Voir datenum) + + + + Exemples + + + + Voir aussi + + + now + + + datenum + + + datevec + + + + diff --git a/modules/time/help/fr_FR/sleep.xml b/modules/time/help/fr_FR/sleep.xml new file mode 100755 index 000000000..ea3c1e203 --- /dev/null +++ b/modules/time/help/fr_FR/sleep.xml @@ -0,0 +1,46 @@ + + + + + sleep + suspend Scilab + + + Séquence d'appel + sleep(milliseconds) + + + Description + + sleepSleep suspend Scilab durant la durée specifiée en + millisecondes. + + + + Exemples + + + + Voir aussi + + + xpause + + + pause + + + + diff --git a/modules/time/help/fr_FR/tic.xml b/modules/time/help/fr_FR/tic.xml new file mode 100755 index 000000000..4db822e0a --- /dev/null +++ b/modules/time/help/fr_FR/tic.xml @@ -0,0 +1,52 @@ + + + + + tic + Démarre le chronomètre + + + Séquence d'appel + tic() + + + Description + + La séquence de commandes tic(); opération; toc(); affiche le nombre de secondes nécessaire pour opération. + + + + Exemples + + + + Voir aussi + + + toc + + + timer + + + etime + + + + diff --git a/modules/time/help/fr_FR/timer.xml b/modules/time/help/fr_FR/timer.xml new file mode 100755 index 000000000..b988fedcf --- /dev/null +++ b/modules/time/help/fr_FR/timer.xml @@ -0,0 +1,65 @@ + + + + + timer + temps CPU consommé + + + Séquence d'appel + timer() + + + Description + Renvoie le temps CPU consommé par Scilab depuis le dernier appel à + timer(). + + timer a une precision de 100 nanosecondes. + + + Remarque : Le temps CPU est le nombre de cycles processeur utilisé + pour l'execution. + + + Le temps CPU peut etre utilisé pour comparer l'usage CPU entre + différents programmes ou fonctions, indépendamment des processus en + arrière plan qui peuvent ralentir l'ordinateur. + + + + Exemples + + + + Voir aussi + + + getdate + + + toc + + + tic + + + timer + + + etime + + + + diff --git a/modules/time/help/fr_FR/toc.xml b/modules/time/help/fr_FR/toc.xml new file mode 100755 index 000000000..d433d5cc5 --- /dev/null +++ b/modules/time/help/fr_FR/toc.xml @@ -0,0 +1,67 @@ + + + + + toc + Lit le chronomètre + + + Séquence d'appel + toc() + t = toc() + + + + Paramètres + + + t + + + nombre de secondes depuis le dernier appel à tic() (Précision de l'ordre de la milliseconde). + + + + + + + Description + + La séquence de commandes tic(); opération; toc(); affiche le nombre de secondes nécessaire pour opération. + + + + Exemples + + + + Voir aussi + + + tic + + + timer + + + etime + + + + diff --git a/modules/time/help/fr_FR/weekday.xml b/modules/time/help/fr_FR/weekday.xml new file mode 100755 index 000000000..950b40a37 --- /dev/null +++ b/modules/time/help/fr_FR/weekday.xml @@ -0,0 +1,54 @@ + + + + + weekday + Retourne le jour de la semaine + + + Séquence d'appel + [N,S] = weekday(D) + [N,S] = weekday(D, form) + + + + Description + + [N,S] = weekday(D) retourne le jour de la semaine sous une forme numérique(N) et une chaîne de caractère(S) pour une date donnée (sous la forme d'un "serial date number" : see datenum). Le paramètre passé en entrée peut être une matrice de "serial date number" + + [N,S] = weekday(D, form)) retourne le jour de la semaine sous une forme numérique(N) et une chaîne de caractère(S), où le contenu de S dépend du paramètre "form". Si form est égal à 'long', S contient le nom complet du jour de la semaine tandis que si form est égal à 'short', S contient l'abbreviation du nom du jour de la semaine. + + + Exemples + + + + Voir aussi + + + datenum + + + datevec + + + weekday + + + + diff --git a/modules/time/help/ja_JP/addchapter.sce b/modules/time/help/ja_JP/addchapter.sce new file mode 100755 index 000000000..2919c4410 --- /dev/null +++ b/modules/time/help/ja_JP/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Time and Date",SCI+"/modules/time/help/ja_JP",%T); + diff --git a/modules/time/help/ja_JP/calendar.xml b/modules/time/help/ja_JP/calendar.xml new file mode 100755 index 000000000..bf5bc8c88 --- /dev/null +++ b/modules/time/help/ja_JP/calendar.xml @@ -0,0 +1,51 @@ + + + + + calendar + カレンダー + + + 呼び出し手順 + c=calendar() + c = calendar(y,m) + + + + 説明 + c = calendar は現在の月に関するカレンダーを含むリストを返します. + カレンダーは日曜日から土曜日までとなります. + + c = calendar(y,m), ただし, y および m は整数で, 指定した年の + 指定した月のカレンダーを返します. + + + + + + + + 参照 + + + datevec + + + datenum + + + + diff --git a/modules/time/help/ja_JP/clock.xml b/modules/time/help/ja_JP/clock.xml new file mode 100755 index 000000000..7480f3de4 --- /dev/null +++ b/modules/time/help/ja_JP/clock.xml @@ -0,0 +1,59 @@ + + + + + clock + 現在の時間を日付ベクトルとして返す + + + 呼び出し手順 + c = clock + + + 説明 + c = clock は,現在の10進形式の日付と時間を有する要素数6の日付ベクトル + を返します: + + c = [年 月 日 時間 分 秒] + 最初の5つの要素は整数です.2番目の要素は小数点以下数桁まで正確です. + + + + + + + 参照 + + + datenum + + + datevec + + + timer + + + etime + + + tic + + + toc + + + + diff --git a/modules/time/help/ja_JP/date.xml b/modules/time/help/ja_JP/date.xml new file mode 100755 index 000000000..3bf197074 --- /dev/null +++ b/modules/time/help/ja_JP/date.xml @@ -0,0 +1,63 @@ + + + + + date + 現在の日付を日付文字列として得る + + + 呼び出し手順 + dt=date() + + + パラメータ + + + dt + + 文字列 + + + + + + 説明 + dt=date() は, dd-mmm-yyyy 形式の日付を有する文字列を返します. + + + + + + + 参照 + + + getdate + + + toc + + + tic + + + timer + + + etime + + + + diff --git a/modules/time/help/ja_JP/datenum.xml b/modules/time/help/ja_JP/datenum.xml new file mode 100755 index 000000000..be4d66016 --- /dev/null +++ b/modules/time/help/ja_JP/datenum.xml @@ -0,0 +1,89 @@ + + + + + datenum + シリアル日付番号に変換する + + + 呼び出し手順 + N = datenum() + N = datenum(DT) + N = datenum(Y, M, D) + N = datenum(Y, M, D, H, MI, S) + + + + 説明 + + datenum 関数は(datevecにより定義された)日付ベクトルをシリアル日付番号に変換します. + 日付番号は、ある基準日から経過した日数です. + デフォルトで,このシリアル日付の1は 1-Jan-0000 に対応します. + + + N = datenum() は現在の日付に対応するシリアル日付番号を返します. + + + N = datenum(DT) は,一つまたは複数のベクトルをシリアル日付番号Nに変換します. + DTは,m個の完全な日付ベクトルからなるm行x6列,または部分的な日付ベクトルからなるm行x3列の行列 + です. + + + N = datenum(Y, M, D) はY,M,D(年,月,日)配列に対応するシリアル日付番号を返します. + Y,M,Dは同じ大きさの配列(またはスカラー)とする必要があります. + + + N = datenum(Y, M, D, H, MI, S) は配列 Y, M, D, H, MI, および S (年,月,日,時間,分, + および秒)に対応するシリアル日付番号を返します. + Y, M, D, H, MI, および Sは同じ大きさの配列(またはスカラー)とする必要があります. + + + + + + + + 参考 + + + datevec + + + calendar + + + + diff --git a/modules/time/help/ja_JP/datevec.xml b/modules/time/help/ja_JP/datevec.xml new file mode 100755 index 000000000..f8143c4df --- /dev/null +++ b/modules/time/help/ja_JP/datevec.xml @@ -0,0 +1,65 @@ + + + + + datevec + 日付の要素 + + + 呼び出し手順 + V=datevec(DT) + [Y,M,D,H,MI,S]=datevec(DT) + + + + 説明 + + V = datevec(DT) は,(datenumにより定義された)日数を + 要素[year, month, day, hour, minute, second]を有する日付ベクトル V + に変換します. + 最初の5個の要素は整数です. + DT は配列とすることができます. + + + [Y, M, D, H, MI, S] = datevec(DT) は日付ベクトルの + 要素を別々の配列に返します. + DT は配列とすることができます. + + + + + + + + 参照 + + + datenum + + + calendar + + + + diff --git a/modules/time/help/ja_JP/eomday.xml b/modules/time/help/ja_JP/eomday.xml new file mode 100755 index 000000000..8d84f3c70 --- /dev/null +++ b/modules/time/help/ja_JP/eomday.xml @@ -0,0 +1,48 @@ + + + + + eomday + 月の最後の日を返す + + + 呼び出し手順 + E = eomday(Y, M) + + + 説明 + E = eomday(Y, M) はそれぞれ配列 Y および Mで指定した年および月の + 最後の日を返します. + + + + + + + + 参照 + + + datenum + + + datevec + + + weekday + + + + diff --git a/modules/time/help/ja_JP/etime.xml b/modules/time/help/ja_JP/etime.xml new file mode 100755 index 000000000..89320c761 --- /dev/null +++ b/modules/time/help/ja_JP/etime.xml @@ -0,0 +1,112 @@ + + + + + etime + 経過時間 + + + 呼び出し手順 + e = etime(t2,t1) + + + パラメータ + + + t2 + + 6または10個の値を有するベクトル. + + + + t1 + + 6または10個の値を有するベクトル. + + + + e + + + t2 および t1の間の秒数. + + + + + + + 説明 + + + t1 および t2 が10個の値を有する場合 + + + t2 および t1 は, + getdateにより返された形式である必要があります. + この場合,その3番目,4番目および5番目の値は無視されます. + + + + + t1 および t2 が6個の値を有する場合 + + + t2 および t1 は, + 以下の形式である必要があります: T = [年 月 日 時間 分 秒] + ただし,秒はミリ秒単位(例: 12.345)です. + + + + + + t2 および t1 は, + 同じ大きさである必要があります.. + + + t2 および t1 は, + 各行に上記の形式のデータを有する行列とすることができます + (全ての行は同じ形式とします). + + + + + + + + 参照 + + + tic + + + toc + + + getdate + + + datenum + + + datevec + + + + diff --git a/modules/time/help/ja_JP/getdate.xml b/modules/time/help/ja_JP/getdate.xml new file mode 100755 index 000000000..8b1d9842f --- /dev/null +++ b/modules/time/help/ja_JP/getdate.xml @@ -0,0 +1,166 @@ + + + + + getdate + 日付と時間に関する情報を取得 + + + 呼び出し手順 + dt=getdate() + x=getdate("s") + dt=getdate(x) + + + + パラメータ + + + dt + + 10個の要素を有する整数ベクトル (下記参照) + + + + x + + 1970年1月1日からの経過秒数で表された日付を有する整数 + + + + + + 説明 + + + dt=getdate() + + 現在の日付を以下の形式で返します: + + + dt(1) + + 0000 と 9999の間の数で表された(世紀を含む)年. + + + + dt(2) + + 01 と 12の間の数で表された月. + + + + dt(3) + + 01 と 53の間の数で表されたISO 8601形式の週番号. + + + + dt(4) + + + 001 と 366の間の数で表されたユリウス日 + + + + + dt(5) + + + [1,7]の範囲の10進数で表された曜日, 1は日曜日に対応. + + + + + dt(6) + + 01 と 31の間の数で表された月内の日数. + + + + dt(7) + + + 00 と 23の間の数で表された1日内の時間. + + + + + dt(8) + + + 出力は00と59の間の数で表された分. + + + + + dt(9) + + + 出力は00と59の間の数で表された秒. + + + + + dt(10) + + + 出力は000と999の間の数で表されたミリ秒. + + + + + + + + x=getdate("s") + + + 1970年1月1日, 00:00 UTC (Unix Time Convention)からの経過 + 秒数をスカラーとして返します. + + + + + dt=getdate(x) + + + x (1970年1月1日, 00:00 UTC からの経過秒数)により指定した + 日付を上記の形式で成形します. + この場合, dt(10) は常に 0となります. + + + + + + + + + + + 参照 + + + date + + + timer + + + + diff --git a/modules/time/help/ja_JP/now.xml b/modules/time/help/ja_JP/now.xml new file mode 100755 index 000000000..aab4bd1eb --- /dev/null +++ b/modules/time/help/ja_JP/now.xml @@ -0,0 +1,54 @@ + + + + + now + 現在の日付と時間を返す + + + 呼び出し手順 + t = now() + + + 説明 + t = now() は,日数として日付と時間を返します. + (datenum参照) + + + + + + + + 参照 + + + clock + + + datenum + + + datevec + + + + diff --git a/modules/time/help/ja_JP/realtime.xml b/modules/time/help/ja_JP/realtime.xml new file mode 100755 index 000000000..632b51942 --- /dev/null +++ b/modules/time/help/ja_JP/realtime.xml @@ -0,0 +1,104 @@ + + + + + realtimeinit + 時間の単位を設定 + + + realtime + 日付の原点を設定または指定日付まで待つ + + + 呼び出し手順 + realtimeinit(time_unit) + realtime(t) + + + + パラメータ + + + time_unit + + + 実数. realtime の引数に関連する秒数 + + + + + t + + 実数. 日付 + + + + + + 説明 + + これら2つの関数はScilabで実時間を処理する際に使用できます. + + + realtimeinit(time_unit) は, + realtime の引数 tに + 関する時間の単位を定義します. + + + realtime(t0)を最初にコールした際, + カレントの日付がt0に設定されます. + これ以降のコールrealtime(t)では, + 日付tに達するまで待機します. + + + + + + + + + 参照 + + + getdate + + + + diff --git a/modules/time/help/ja_JP/sleep.xml b/modules/time/help/ja_JP/sleep.xml new file mode 100755 index 000000000..2558b58d6 --- /dev/null +++ b/modules/time/help/ja_JP/sleep.xml @@ -0,0 +1,49 @@ + + + + + sleep + Scilabを停止(サスペンド)する + + + 呼び出し手順 + sleep(milliseconds) + + + 説明 + + sleep : + 引数で指定したミリ秒の間処理を停止します. + 他のシステムの処理または + 呼び出し処理の時間により,実際に停止される時間は + 長くなる可能性があります. + + + + + + + + 参照 + + + xpause + + + pause + + + + diff --git a/modules/time/help/ja_JP/tic.xml b/modules/time/help/ja_JP/tic.xml new file mode 100755 index 000000000..00114e5bc --- /dev/null +++ b/modules/time/help/ja_JP/tic.xml @@ -0,0 +1,53 @@ + + + + + tic + ストップウォッチタイマーを開始 + + + 呼び出し手順 + tic() + + + 説明 + + 一連のコマンド tic(); 処理; toc(); により, + 処理に要した秒数が出力されます. + + + + + + + + 参照 + + + toc + + + timer + + + etime + + + + diff --git a/modules/time/help/ja_JP/timer.xml b/modules/time/help/ja_JP/timer.xml new file mode 100755 index 000000000..d26a1f728 --- /dev/null +++ b/modules/time/help/ja_JP/timer.xml @@ -0,0 +1,63 @@ + + + + + timer + CPU時間 + + + 呼び出し手順 + timer() + + + 説明 + + timer()への前のコールからの経過時間を + CPU時間で返します. + + timer の時間精度は 100ナノ秒です. + 注意: CPU 時間は, + 計算に使用されるプロセッサ周期数です. + これは,実時間と完全に等価なわけではありません. + + CPU時間は, + 計算機を遅くするような + バックグラウンド処理にかかわりなく, + 異なるプログラムまたは関数の間で要するCPU消費を + 比較する際に使用できます. + + + + + + + + 参照 + + + getdate + + + toc + + + tic + + + etime + + + + diff --git a/modules/time/help/ja_JP/toc.xml b/modules/time/help/ja_JP/toc.xml new file mode 100755 index 000000000..5810e7588 --- /dev/null +++ b/modules/time/help/ja_JP/toc.xml @@ -0,0 +1,69 @@ + + + + + toc + ストップウォッチタイマーを読む + + + 呼び出し手順 + toc() + t = toc() + + + + パラメータ + + + t + + + tic()への最後のコール以降の経過秒数 + (精度はミリ秒レベル). + + + + + + + 説明 + + 一連のコマンド tic(); 処理; toc(); は, + 処理に要した秒数を出力します. + + + + + + + + 参照 + + + tic + + + timer + + + etime + + + + diff --git a/modules/time/help/ja_JP/weekday.xml b/modules/time/help/ja_JP/weekday.xml new file mode 100755 index 000000000..b9abb7ce1 --- /dev/null +++ b/modules/time/help/ja_JP/weekday.xml @@ -0,0 +1,61 @@ + + + + + weekday + 曜日を返す + + + 呼び出し手順 + [N,S] = weekday(D) + [N,S] = weekday(D, form) + + + + 説明 + [N,S] = weekday(D) は, + 日数 n または日付文字列Dで指定すると, + 数値(N) および文字列(S)形式で曜日を返します. + 入力引数 D は,日数の配列で複数の日を表すことができます. + + [N,S] = weekday(D, form) は, + 数値(N) および文字列(S)形式で曜日を返しますが, + S の内容は form 引数に依存します. + form が 'long'の場合, S には完全な曜日 (例: Thuesday)が含まれます. + form が 'short'の場合, S には短縮形 (例: Tue) が含まれます. + + + + + + + + 参照 + + + datenum + + + datevec + + + weekday + + + + diff --git a/modules/time/help/pt_BR/addchapter.sce b/modules/time/help/pt_BR/addchapter.sce new file mode 100755 index 000000000..d2ac8ed97 --- /dev/null +++ b/modules/time/help/pt_BR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Data e Hora",SCI+"/modules/time/help/pt_BR",%T); + diff --git a/modules/time/help/pt_BR/date.xml b/modules/time/help/pt_BR/date.xml new file mode 100755 index 000000000..a42810c04 --- /dev/null +++ b/modules/time/help/pt_BR/date.xml @@ -0,0 +1,65 @@ + + + + + date + retorna string contendo a data corrente + + + Seqncia de Chamamento + dt=date() + + + Parmetros + + + dt + + a string + + + + + + Descrio + dt=date() retorna um string contendo a data no formato + dd-mmm-yyyy. + + + + Exemplos + + + + Ver Tambm + + + getdate + + + toc + + + tic + + + timer + + + etime + + + + diff --git a/modules/time/help/pt_BR/etime.xml b/modules/time/help/pt_BR/etime.xml new file mode 100755 index 000000000..ff10e1f6c --- /dev/null +++ b/modules/time/help/pt_BR/etime.xml @@ -0,0 +1,113 @@ + + + + + etime + tempo decorrido + + + Seqncia de Chamamento + e = etime(t2,t1) + + + Parmetros + + + t2 + + um vetor com 6 ou 10 valores + + + + t1 + + um vetor com 6 ou 10 valores + + + + e + + + nmero de segundos entre t2 e + t1. + + + + + + + Descrio + + + t1 e t2 com 10 valores + + + t2 e t1 devem ter o + mesmo formato retornado por getdate. Neste caso, + seus terceiro, quarto e quinto valores sero ignorados. + + + + + t1 e t2 com 6 valores + + + t2 e t1 devem ter o + mesmo formato: T = [Ano Ms Dia Hora Minuto Segundo] com Segundo o + nmero de segundos com milisegundos (ex.: 12.345). + + + + + + t2 e t1 devem ter o mesmo + tamanho. + + + t2 e t1 podem ser matrizes com + cada linha contendo o formato descrito acima (todas as linhas tendo o + mesmo formato). + + + + Exemplos + + + + Ver Tambm + + + tic + + + toc + + + getdate + + + datenum + + + datevec + + + + diff --git a/modules/time/help/pt_BR/getdate.xml b/modules/time/help/pt_BR/getdate.xml new file mode 100755 index 000000000..cc757de3b --- /dev/null +++ b/modules/time/help/pt_BR/getdate.xml @@ -0,0 +1,163 @@ + + + + + getdate + retorna informao sobre data e hora + + + Seqncia de Chamamento + dt=getdate() + x=getdate("s") + dt=getdate(x) + + + + Parmetros + + + dt + + um vetor de inteiros com 10 entradas (ver abaixo) + + + + x + + um inteiro contendo uma data codificada em segundos a partir + de 01/01/1970 + + + + + + + Descrio + + + dt=getdate() + + retorna a dada corrente no formato dado abaixo: + + + dt(1) + + o ano como um nmero (com o sculo) entre 0000 e 9999. + + + + + dt(2) + + o ms do ano como um nmero entre 01 e 12. + + + + dt(3) + + o nmero da semana ISO 8601 como um nmero entre 01 e + 53. + + + + + dt(4) + + o dia Juliano do ano como um nmero entre 001 e 366. + + + + + dt(5) + + especifica o dia da semana como um nmero decimal entre + 1 e 7 , com 1 representando domingo. + + + + + dt(6) + + o dia do ms como um nmero entre 01 e 31. + + + + dt(7) + + a hora do dia como um nmero entre 00 e 23. + + + + dt(8) + + o minuto da hora como um nmero entre 00 e 59. + + + + dt(9) + + o segundo do minuto como um nmero entre 00 e 59. + + + + dt(10) + + o milissegundo do segundo como um nmero entre 000 e + 999. + + + + + + + + x=getdate("s") + + retorna um escalar com o nmero de segundos desde 01/01/1970, + 00:00 UTC (Conveno de Tempo Unix) + + + + + dt=getdate(x) + + pe a data dada por x (nmero de segundos desde 01/01/1970, + 00:00 UTC) no formato acima. Neste caso, dt(10) sempre igual a + 0. + + + + + + + Exemplos + + + + Ver Tambm + + + date + + + timer + + + + diff --git a/modules/time/help/pt_BR/tic.xml b/modules/time/help/pt_BR/tic.xml new file mode 100755 index 000000000..f3ffcfbc8 --- /dev/null +++ b/modules/time/help/pt_BR/tic.xml @@ -0,0 +1,60 @@ + + + + + tic + inicia um cronmetro + + + Seqncia de Chamamento + tic() + + + Descrio + + A seqncia de comando tic(); operation; toc(); + imprime o nmero de segundos requeridos para a operao. + + + + Exemplos + + + + Ver Tambm + + + toc + + + timer + + + etime + + + + + Autores + + V.C. + A.C. + + + diff --git a/modules/time/help/pt_BR/toc.xml b/modules/time/help/pt_BR/toc.xml new file mode 100755 index 000000000..4de412eaf --- /dev/null +++ b/modules/time/help/pt_BR/toc.xml @@ -0,0 +1,75 @@ + + + + + toc + l o cronmetro + + + Seqncia de Chamamento + toc() + t = toc() + + + + Parmetros + + + t + + nmero de segundos desde a ltima chamada a + tic() (preciso em ordem de milissegundos) + + + + + + + Descrio + + A seqncia de comandos tic(); operation; toc(); + imprime o nmero de segundos requeridos para a operao. + + + + Exemplos + + + + Ver Tambm + + + tic + + + timer + + + etime + + + + + Autores + + V.C. + A.C. + + + diff --git a/modules/time/help/ru_RU/addchapter.sce b/modules/time/help/ru_RU/addchapter.sce new file mode 100755 index 000000000..aa6b02c55 --- /dev/null +++ b/modules/time/help/ru_RU/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Time and Date",SCI+"/modules/time/help/ru_RU",%T); + -- cgit