summaryrefslogtreecommitdiff
path: root/modules/time
diff options
context:
space:
mode:
authorShashank2017-05-29 12:40:26 +0530
committerShashank2017-05-29 12:40:26 +0530
commit0345245e860375a32c9a437c4a9d9cae807134e9 (patch)
treead51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/time
downloadscilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip
CMSCOPE changed
Diffstat (limited to 'modules/time')
-rwxr-xr-xmodules/time/.libs/libscitime-algo.abin0 -> 38086 bytes
l---------modules/time/.libs/libscitime-algo.la1
-rwxr-xr-xmodules/time/.libs/libscitime.abin0 -> 115494 bytes
l---------modules/time/.libs/libscitime.la1
-rwxr-xr-xmodules/time/Makefile1441
-rwxr-xr-xmodules/time/Makefile.am69
-rwxr-xr-xmodules/time/Makefile.in1441
-rwxr-xr-xmodules/time/core_Import.def20
-rwxr-xr-xmodules/time/etc/time.quit11
-rwxr-xr-xmodules/time/etc/time.start14
-rwxr-xr-xmodules/time/help/en_US/addchapter.sce11
-rwxr-xr-xmodules/time/help/en_US/calendar.xml47
-rwxr-xr-xmodules/time/help/en_US/clock.xml57
-rwxr-xr-xmodules/time/help/en_US/date.xml63
-rwxr-xr-xmodules/time/help/en_US/datenum.xml97
-rwxr-xr-xmodules/time/help/en_US/datevec.xml65
-rwxr-xr-xmodules/time/help/en_US/eomday.xml79
-rwxr-xr-xmodules/time/help/en_US/etime.xml107
-rwxr-xr-xmodules/time/help/en_US/getdate.xml157
-rwxr-xr-xmodules/time/help/en_US/now.xml54
-rwxr-xr-xmodules/time/help/en_US/realtime.xml104
-rwxr-xr-xmodules/time/help/en_US/sleep.xml48
-rwxr-xr-xmodules/time/help/en_US/tic.xml52
-rwxr-xr-xmodules/time/help/en_US/timer.xml62
-rwxr-xr-xmodules/time/help/en_US/toc.xml67
-rwxr-xr-xmodules/time/help/en_US/weekday.xml52
-rwxr-xr-xmodules/time/help/fr_FR/addchapter.sce11
-rwxr-xr-xmodules/time/help/fr_FR/calendar.xml47
-rwxr-xr-xmodules/time/help/fr_FR/date.xml63
-rwxr-xr-xmodules/time/help/fr_FR/datenum.xml97
-rwxr-xr-xmodules/time/help/fr_FR/datevec.xml65
-rwxr-xr-xmodules/time/help/fr_FR/eomday.xml80
-rwxr-xr-xmodules/time/help/fr_FR/etime.xml107
-rwxr-xr-xmodules/time/help/fr_FR/getdate.xml157
-rwxr-xr-xmodules/time/help/fr_FR/now.xml54
-rwxr-xr-xmodules/time/help/fr_FR/sleep.xml46
-rwxr-xr-xmodules/time/help/fr_FR/tic.xml52
-rwxr-xr-xmodules/time/help/fr_FR/timer.xml65
-rwxr-xr-xmodules/time/help/fr_FR/toc.xml67
-rwxr-xr-xmodules/time/help/fr_FR/weekday.xml54
-rwxr-xr-xmodules/time/help/ja_JP/addchapter.sce11
-rwxr-xr-xmodules/time/help/ja_JP/calendar.xml51
-rwxr-xr-xmodules/time/help/ja_JP/clock.xml59
-rwxr-xr-xmodules/time/help/ja_JP/date.xml63
-rwxr-xr-xmodules/time/help/ja_JP/datenum.xml89
-rwxr-xr-xmodules/time/help/ja_JP/datevec.xml65
-rwxr-xr-xmodules/time/help/ja_JP/eomday.xml48
-rwxr-xr-xmodules/time/help/ja_JP/etime.xml112
-rwxr-xr-xmodules/time/help/ja_JP/getdate.xml166
-rwxr-xr-xmodules/time/help/ja_JP/now.xml54
-rwxr-xr-xmodules/time/help/ja_JP/realtime.xml104
-rwxr-xr-xmodules/time/help/ja_JP/sleep.xml49
-rwxr-xr-xmodules/time/help/ja_JP/tic.xml53
-rwxr-xr-xmodules/time/help/ja_JP/timer.xml63
-rwxr-xr-xmodules/time/help/ja_JP/toc.xml69
-rwxr-xr-xmodules/time/help/ja_JP/weekday.xml61
-rwxr-xr-xmodules/time/help/pt_BR/addchapter.sce11
-rwxr-xr-xmodules/time/help/pt_BR/date.xml65
-rwxr-xr-xmodules/time/help/pt_BR/etime.xml113
-rwxr-xr-xmodules/time/help/pt_BR/getdate.xml163
-rwxr-xr-xmodules/time/help/pt_BR/tic.xml60
-rwxr-xr-xmodules/time/help/pt_BR/toc.xml75
-rwxr-xr-xmodules/time/help/ru_RU/addchapter.sce11
-rwxr-xr-xmodules/time/includes/dynlib_time.h28
-rwxr-xr-xmodules/time/includes/gw_time.h32
-rwxr-xr-xmodules/time/includes/realtime.h38
-rwxr-xr-xmodules/time/includes/timer.h37
-rwxr-xr-xmodules/time/libscitime-algo.la41
-rwxr-xr-xmodules/time/libscitime.la41
-rwxr-xr-xmodules/time/license.txt10
-rwxr-xr-xmodules/time/locales/ca_ES.po278
-rwxr-xr-xmodules/time/locales/cs_CZ.po256
-rwxr-xr-xmodules/time/locales/de_DE.po265
-rwxr-xr-xmodules/time/locales/es_ES.po273
-rwxr-xr-xmodules/time/locales/fr_FR.po275
-rwxr-xr-xmodules/time/locales/it_IT.po284
-rwxr-xr-xmodules/time/locales/ja_JP.po326
-rwxr-xr-xmodules/time/locales/pl_PL.po277
-rwxr-xr-xmodules/time/locales/pt_BR.po285
-rwxr-xr-xmodules/time/locales/ru_RU.po271
-rwxr-xr-xmodules/time/locales/time.pot405
-rwxr-xr-xmodules/time/locales/uk_UA.po285
-rwxr-xr-xmodules/time/locales/zh_CN.po247
-rwxr-xr-xmodules/time/locales/zh_TW.po247
-rwxr-xr-xmodules/time/macros/buildmacros.bat1
-rwxr-xr-xmodules/time/macros/buildmacros.sce12
-rwxr-xr-xmodules/time/macros/calendar.binbin0 -> 5564 bytes
-rwxr-xr-xmodules/time/macros/calendar.sci54
-rwxr-xr-xmodules/time/macros/cleanmacros.bat3
-rwxr-xr-xmodules/time/macros/clock.binbin0 -> 236 bytes
-rwxr-xr-xmodules/time/macros/clock.sci16
-rwxr-xr-xmodules/time/macros/date.binbin0 -> 1772 bytes
-rwxr-xr-xmodules/time/macros/date.sci25
-rwxr-xr-xmodules/time/macros/datenum.binbin0 -> 27656 bytes
-rwxr-xr-xmodules/time/macros/datenum.sci192
-rwxr-xr-xmodules/time/macros/datevec.binbin0 -> 12488 bytes
-rwxr-xr-xmodules/time/macros/datevec.sci100
-rwxr-xr-xmodules/time/macros/eomday.binbin0 -> 6616 bytes
-rwxr-xr-xmodules/time/macros/eomday.sci49
-rwxr-xr-xmodules/time/macros/etime.binbin0 -> 13160 bytes
-rwxr-xr-xmodules/time/macros/etime.sci91
-rwxr-xr-xmodules/time/macros/isLeapYear.binbin0 -> 1572 bytes
-rwxr-xr-xmodules/time/macros/isLeapYear.sci28
-rwxr-xr-xmodules/time/macros/libbin0 -> 540 bytes
-rwxr-xr-xmodules/time/macros/names12
-rwxr-xr-xmodules/time/macros/now.binbin0 -> 180 bytes
-rwxr-xr-xmodules/time/macros/now.sci17
-rwxr-xr-xmodules/time/macros/tic.binbin0 -> 904 bytes
-rwxr-xr-xmodules/time/macros/tic.sci20
-rwxr-xr-xmodules/time/macros/toc.binbin0 -> 1484 bytes
-rwxr-xr-xmodules/time/macros/toc.sci24
-rwxr-xr-xmodules/time/macros/weekday.binbin0 -> 14588 bytes
-rwxr-xr-xmodules/time/macros/weekday.sci118
-rwxr-xr-xmodules/time/sci_gateway/c/.deps/.dirstamp0
-rwxr-xr-xmodules/time/sci_gateway/c/.deps/libscitime_la-gw_time.Plo273
-rwxr-xr-xmodules/time/sci_gateway/c/.deps/libscitime_la-sci_calendar.Plo226
-rwxr-xr-xmodules/time/sci_gateway/c/.deps/libscitime_la-sci_getdate.Plo314
-rwxr-xr-xmodules/time/sci_gateway/c/.deps/libscitime_la-sci_realtime.Plo201
-rwxr-xr-xmodules/time/sci_gateway/c/.deps/libscitime_la-sci_sleep.Plo236
-rwxr-xr-xmodules/time/sci_gateway/c/.deps/libscitime_la-sci_timer.Plo221
-rwxr-xr-xmodules/time/sci_gateway/c/.deps/libscitime_la-sci_xpause.Plo236
-rwxr-xr-xmodules/time/sci_gateway/c/.dirstamp0
-rwxr-xr-xmodules/time/sci_gateway/c/.libs/libscitime_la-gw_time.obin0 -> 6864 bytes
-rwxr-xr-xmodules/time/sci_gateway/c/.libs/libscitime_la-sci_calendar.obin0 -> 15264 bytes
-rwxr-xr-xmodules/time/sci_gateway/c/.libs/libscitime_la-sci_getdate.obin0 -> 18256 bytes
-rwxr-xr-xmodules/time/sci_gateway/c/.libs/libscitime_la-sci_realtime.obin0 -> 9552 bytes
-rwxr-xr-xmodules/time/sci_gateway/c/.libs/libscitime_la-sci_sleep.obin0 -> 8960 bytes
-rwxr-xr-xmodules/time/sci_gateway/c/.libs/libscitime_la-sci_timer.obin0 -> 8696 bytes
-rwxr-xr-xmodules/time/sci_gateway/c/.libs/libscitime_la-sci_xpause.obin0 -> 9064 bytes
-rwxr-xr-xmodules/time/sci_gateway/c/gw_time.c43
-rwxr-xr-xmodules/time/sci_gateway/c/libscitime_la-gw_time.lo12
-rwxr-xr-xmodules/time/sci_gateway/c/libscitime_la-sci_calendar.lo12
-rwxr-xr-xmodules/time/sci_gateway/c/libscitime_la-sci_getdate.lo12
-rwxr-xr-xmodules/time/sci_gateway/c/libscitime_la-sci_realtime.lo12
-rwxr-xr-xmodules/time/sci_gateway/c/libscitime_la-sci_sleep.lo12
-rwxr-xr-xmodules/time/sci_gateway/c/libscitime_la-sci_timer.lo12
-rwxr-xr-xmodules/time/sci_gateway/c/libscitime_la-sci_xpause.lo12
-rwxr-xr-xmodules/time/sci_gateway/c/sci_calendar.c153
-rwxr-xr-xmodules/time/sci_gateway/c/sci_getdate.c198
-rwxr-xr-xmodules/time/sci_gateway/c/sci_realtime.c54
-rwxr-xr-xmodules/time/sci_gateway/c/sci_sleep.c75
-rwxr-xr-xmodules/time/sci_gateway/c/sci_timer.c48
-rwxr-xr-xmodules/time/sci_gateway/c/sci_xpause.c74
-rwxr-xr-xmodules/time/sci_gateway/time_gateway.xml44
-rwxr-xr-xmodules/time/src/c/.deps/.dirstamp0
-rwxr-xr-xmodules/time/src/c/.deps/libscitime_algo_la-getdate.Plo122
-rwxr-xr-xmodules/time/src/c/.deps/libscitime_algo_la-realtime.Plo92
-rwxr-xr-xmodules/time/src/c/.deps/libscitime_algo_la-timer.Plo84
-rwxr-xr-xmodules/time/src/c/.dirstamp0
-rwxr-xr-xmodules/time/src/c/.libs/libscitime_algo_la-getdate.obin0 -> 17888 bytes
-rwxr-xr-xmodules/time/src/c/.libs/libscitime_algo_la-realtime.obin0 -> 9392 bytes
-rwxr-xr-xmodules/time/src/c/.libs/libscitime_algo_la-timer.obin0 -> 10200 bytes
-rwxr-xr-xmodules/time/src/c/DllmainTime.c34
-rwxr-xr-xmodules/time/src/c/getdate.c284
-rwxr-xr-xmodules/time/src/c/getdate.h53
-rwxr-xr-xmodules/time/src/c/libscitime_algo_la-getdate.lo12
-rwxr-xr-xmodules/time/src/c/libscitime_algo_la-realtime.lo12
-rwxr-xr-xmodules/time/src/c/libscitime_algo_la-timer.lo12
-rwxr-xr-xmodules/time/src/c/realtime.c147
-rwxr-xr-xmodules/time/src/c/time.rc96
-rwxr-xr-xmodules/time/src/c/timer.c103
-rwxr-xr-xmodules/time/tests/benchmarks/bench_calendar.tst15
-rwxr-xr-xmodules/time/tests/benchmarks/bench_clock.tst15
-rwxr-xr-xmodules/time/tests/benchmarks/bench_datenum_1.tst15
-rwxr-xr-xmodules/time/tests/benchmarks/bench_datenum_2.tst15
-rwxr-xr-xmodules/time/tests/benchmarks/bench_datenum_3.tst15
-rwxr-xr-xmodules/time/tests/benchmarks/bench_datenum_4.tst22
-rwxr-xr-xmodules/time/tests/benchmarks/bench_datevec.tst15
-rwxr-xr-xmodules/time/tests/benchmarks/bench_eomday.tst15
-rwxr-xr-xmodules/time/tests/benchmarks/bench_getdate.tst17
-rwxr-xr-xmodules/time/tests/benchmarks/bench_now.tst15
-rwxr-xr-xmodules/time/tests/benchmarks/bench_weekday.tst17
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_10576.dia.ref22
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_10576.tst26
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_10577.dia.ref18
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_10577.tst21
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1249.dia.ref43
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1249.tst51
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_13188.dia.ref23
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_13188.tst27
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1505.dia.ref39
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1505.tst34
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1506.dia.ref38
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1506.tst45
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1625.dia.ref28
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1625.tst31
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1628.tst41
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1711.dia.ref30
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1711.tst33
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1859.dia.ref40
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_1859.tst45
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_2270.dia.ref21
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_2270.tst24
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_2786.dia.ref17
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_2786.tst21
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_4663.dia.ref17
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_4663.tst21
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_6400.dia.ref19
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_6400.tst22
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_793.dia.ref16
-rwxr-xr-xmodules/time/tests/nonreg_tests/bug_793.tst19
-rwxr-xr-xmodules/time/tests/unit_tests/calendar.dia.ref19
-rwxr-xr-xmodules/time/tests/unit_tests/calendar.tst26
-rwxr-xr-xmodules/time/tests/unit_tests/datenum.dia.ref24
-rwxr-xr-xmodules/time/tests/unit_tests/datenum.tst34
-rwxr-xr-xmodules/time/tests/unit_tests/datevec.dia.ref31
-rwxr-xr-xmodules/time/tests/unit_tests/datevec.tst40
-rwxr-xr-xmodules/time/tests/unit_tests/eomday.dia.ref33
-rwxr-xr-xmodules/time/tests/unit_tests/eomday.tst40
-rwxr-xr-xmodules/time/tests/unit_tests/getdate.dia.ref49
-rwxr-xr-xmodules/time/tests/unit_tests/getdate.tst57
-rwxr-xr-xmodules/time/tests/unit_tests/isLeapYear.dia.ref12
-rwxr-xr-xmodules/time/tests/unit_tests/isLeapYear.tst16
-rwxr-xr-xmodules/time/tests/unit_tests/timer.dia.ref11
-rwxr-xr-xmodules/time/tests/unit_tests/timer.tst14
-rwxr-xr-xmodules/time/time.iss46
-rwxr-xr-xmodules/time/time.vcxproj249
-rwxr-xr-xmodules/time/time.vcxproj.filters100
-rwxr-xr-xmodules/time/time_export.def13
219 files changed, 17016 insertions, 0 deletions
diff --git a/modules/time/.libs/libscitime-algo.a b/modules/time/.libs/libscitime-algo.a
new file mode 100755
index 000000000..bcbc8c8e6
--- /dev/null
+++ b/modules/time/.libs/libscitime-algo.a
Binary files differ
diff --git a/modules/time/.libs/libscitime-algo.la b/modules/time/.libs/libscitime-algo.la
new file mode 120000
index 000000000..5d1e14bb6
--- /dev/null
+++ b/modules/time/.libs/libscitime-algo.la
@@ -0,0 +1 @@
+../libscitime-algo.la \ No newline at end of file
diff --git a/modules/time/.libs/libscitime.a b/modules/time/.libs/libscitime.a
new file mode 100755
index 000000000..2ff46742c
--- /dev/null
+++ b/modules/time/.libs/libscitime.a
Binary files differ
diff --git a/modules/time/.libs/libscitime.la b/modules/time/.libs/libscitime.la
new file mode 120000
index 000000000..3e9bc4fea
--- /dev/null
+++ b/modules/time/.libs/libscitime.la
@@ -0,0 +1 @@
+../libscitime.la \ No newline at end of file
diff --git a/modules/time/Makefile b/modules/time/Makefile
new file mode 100755
index 000000000..2254b8f09
--- /dev/null
+++ b/modules/time/Makefile
@@ -0,0 +1,1441 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# modules/time/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
+#
+# This file is distributed under the same license as the Scilab package.
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# 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
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/scilab
+pkgincludedir = $(includedir)/scilab
+pkglibdir = $(libdir)/scilab
+pkglibexecdir = $(libexecdir)/scilab
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \
+ $(top_srcdir)/config/depcomp $(libscitime_la_include_HEADERS)
+am__append_1 = java
+subdir = modules/time
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+ $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+ $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+ $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+ $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+ $(top_srcdir)/m4/intel_compiler.m4 \
+ $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+ $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+ $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+ $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
+ $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
+ $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
+ $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
+ $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(pkglibdir)" \
+ "$(DESTDIR)$(libscitime_la_etcdir)" \
+ "$(DESTDIR)$(libscitime_la_rootdir)" \
+ "$(DESTDIR)$(libscitime_la_sci_gatewaydir)" \
+ "$(DESTDIR)$(libscitime_la_includedir)"
+LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
+libscitime_algo_la_LIBADD =
+am__dirstamp = $(am__leading_dot)dirstamp
+am__objects_1 = src/c/libscitime_algo_la-realtime.lo \
+ src/c/libscitime_algo_la-timer.lo \
+ src/c/libscitime_algo_la-getdate.lo
+am_libscitime_algo_la_OBJECTS = $(am__objects_1)
+libscitime_algo_la_OBJECTS = $(am_libscitime_algo_la_OBJECTS)
+AM_V_lt = $(am__v_lt_$(V))
+am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
+am__v_lt_0 = --silent
+am__v_lt_1 =
+am_libscitime_algo_la_rpath =
+#am_libscitime_algo_la_rpath =
+libscitime_la_DEPENDENCIES = libscitime-algo.la
+am__objects_2 = sci_gateway/c/libscitime_la-sci_realtime.lo \
+ sci_gateway/c/libscitime_la-sci_timer.lo \
+ sci_gateway/c/libscitime_la-sci_calendar.lo \
+ sci_gateway/c/libscitime_la-sci_xpause.lo \
+ sci_gateway/c/libscitime_la-sci_sleep.lo \
+ sci_gateway/c/libscitime_la-sci_getdate.lo \
+ sci_gateway/c/libscitime_la-gw_time.lo
+am_libscitime_la_OBJECTS = $(am__objects_2)
+libscitime_la_OBJECTS = $(am_libscitime_la_OBJECTS)
+am_libscitime_la_rpath =
+#am_libscitime_la_rpath = -rpath $(pkglibdir)
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I. -I$(top_builddir)/modules/core/includes
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_$(V))
+am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_$(V))
+am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(libscitime_algo_la_SOURCES) $(libscitime_la_SOURCES)
+DIST_SOURCES = $(libscitime_algo_la_SOURCES) $(libscitime_la_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+DATA = $(libscitime_la_etc_DATA) $(libscitime_la_root_DATA) \
+ $(libscitime_la_sci_gateway_DATA)
+HEADERS = $(libscitime_la_include_HEADERS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing aclocal-1.14
+ALL_LINGUAS = en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA pl_PL cs_CZ
+ALL_LINGUAS_DOC = en_US fr_FR pt_BR ja_JP ru_RU
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+ANT = /usr/bin/ant
+ANTLR = /usr/share/java/antlr.jar
+AR = ar
+ARPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -larpack
+ASM3 = /usr/share/java/asm3-3.3.2.jar
+AUTOCONF = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoconf
+AUTOHEADER = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoheader
+AUTOMAKE = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing automake-1.14
+AVALON_FRAMEWORK = /home/shashank/scilab-master_5.5.2/thirdparty/avalon-framework.jar
+AWK = mawk
+BATIK = /home/shashank/scilab-master_5.5.2/thirdparty/batik-all-1.7.jar
+BLAS_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lblas
+CC = gcc
+CCACHE =
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CHECKSTYLE =
+COBERTURA = /usr/share/java/cobertura.jar
+COMMONS_BEANUTILS =
+COMMONS_IO = /home/shashank/scilab-master_5.5.2/thirdparty/commons-io.jar
+COMMONS_LOGGING = /home/shashank/scilab-master_5.5.2/thirdparty/commons-logging.jar
+CPP = gcc -E
+CPPFLAGS =
+CURL_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+CURL_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/curl-config
+CURL_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lcurl -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lssl -lcrypto -lrt -lz
+CURL_VERSION = libcurl 7.19.7
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEMOTOOLS_ENABLE = yes
+DEPDIR = .deps
+DLLTOOL = false
+DOCBOOK_ROOT = /home/shashank/scilab-master_5.5.2/thirdparty/docbook/
+DOXYGEN_BIN =
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+ECJ = /home/shashank/scilab-master_5.5.2/thirdparty/ecj.jar
+EGREP = /bin/grep -E
+EXEEXT =
+F77 = gfortran
+FFLAGS = -g -O2
+FFTW3_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lfftw3
+FFTW_ENABLE = yes
+FGREP = /bin/grep -F
+FLEXDOCK = /home/shashank/scilab-master_5.5.2/thirdparty/flexdock-1.2.4.jar
+FLIBS = -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath
+FOP = /home/shashank/scilab-master_5.5.2/thirdparty/fop.jar
+FREEHEP_GRAPHICS2D = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphics2d.jar
+FREEHEP_GRAPHICSIO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio.jar
+FREEHEP_GRAPHICSIO_EMF = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio-emf.jar
+FREEHEP_IO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-io.jar
+FREEHEP_UTIL = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-util.jar
+GENHTML =
+GETTEXT_MACRO_VERSION = 0.19
+GIWS_BIN =
+GLUEGEN2_RT = /home/shashank/scilab-master_5.5.2/thirdparty/gluegen2-rt.jar
+GMSGFMT = /usr/bin/msgfmt
+GMSGFMT_015 = /usr/bin/msgfmt
+GRAPHICS_ENABLE = yes
+GREP = /bin/grep
+GUI_ENABLE = yes
+HDF5_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+HDF5_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lhdf5 -lhdf5_hl
+HELP_ENABLE = yes
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+INTLLIBS =
+INTL_MACOSX_LIBS =
+JAR = /usr/lib/jvm/java-8-openjdk-amd64/bin/jar
+JAVA = /usr/lib/jvm/java-8-openjdk-amd64/bin/java
+JAVAC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
+JAVAC_DEBUG = off
+JAVADOC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc
+JAVAH = /usr/lib/jvm/java-8-openjdk-amd64/bin/javah
+JAVASCI_ENABLE = yes
+JAVA_ENABLE = yes
+JAVA_G = /usr/lib/jvm/java-8-openjdk-amd64/bin/java
+JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64
+JAVA_JNI_INCLUDE = -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux
+JAVA_JNI_LIBS = -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm
+JDB = /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb
+JEUCLID_CORE = /home/shashank/scilab-master_5.5.2/thirdparty/jeuclid-core.jar
+JGRAPHX = /home/shashank/scilab-master_5.5.2/thirdparty/jgraphx.jar
+JHALL = /home/shashank/scilab-master_5.5.2/thirdparty/jhall.jar
+JLATEXMATH = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-1.0.3.jar
+JLATEXMATH_FOP = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-fop-1.0.3.jar
+JOGL2 = /home/shashank/scilab-master_5.5.2/thirdparty/jogl2.jar
+JROSETTA_API = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-API.jar
+JROSETTA_ENGINE = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-engine.jar
+JUNIT4 = /usr/share/java/junit4.jar
+LAPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -llapack
+LCOV =
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS = -Wl,--no-as-needed
+LIBICONV = -liconv
+LIBINTL =
+LIBM = -lm
+LIBOBJS =
+LIBS = -lpthread -ldl -lcurses -lm
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIPO =
+LN_S = ln -s
+LOGGING_LEVEL = SEVERE
+LOOKS = /home/shashank/scilab-master_5.5.2/thirdparty/looks-2.1.1.jar
+LTLIBICONV = -liconv
+LTLIBINTL =
+LTLIBOBJS =
+MAINT = #
+MAKEINFO = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing makeinfo
+MANIFEST_TOOL = :
+MATIO_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+MATIO_ENABLE = yes
+MATIO_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lm -lz -lmatio -lhdf5
+MKDIR_P = /bin/mkdir -p
+MPI_ENABLE = no
+MSGCAT = /usr/bin/msgcat
+MSGFMT = /usr/bin/msgfmt
+MSGFMT_015 = /usr/bin/msgfmt
+MSGMERGE = /usr/bin/msgmerge
+NM = nm
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OCAMLC = ocamlc
+OCAMLDEP = ocamldep
+OCAMLLEX = ocamllex
+OCAMLOPT = ocamlopt
+OCAMLYACC = ocamlyacc
+OPENMPI_CC =
+OPENMPI_CFLAGS =
+OPENMPI_CXX =
+OPENMPI_CXXFLAGS =
+OPENMPI_LIBS =
+OPENMP_CFLAGS = -fopenmp
+OPENMP_CXXFLAGS = -fopenmp
+OPENMP_ENABLE = yes
+OPENMP_LIBS = -lgomp -lstdc++
+OTOOL =
+OTOOL64 =
+PACKAGE = scilab
+PACKAGE_BUGREPORT = http://bugzilla.scilab.org/
+PACKAGE_NAME = Scilab
+PACKAGE_STRING = Scilab 5
+PACKAGE_TARNAME = scilab
+PACKAGE_URL =
+PACKAGE_VERSION = 5
+PATH_SEPARATOR = :
+PCRE_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+PCRE_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/pcre-config
+PCRE_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lpcreposix -lpcre
+PCRE_VERSION = 8.35
+PKG_CONFIG = /usr/bin/pkg-config
+POSUB = po
+POW_LIB =
+PYTHON =
+RANLIB = ranlib
+RELOCATABLE = no
+RT_LIB = -lrt
+SAXON = /home/shashank/scilab-master_5.5.2/thirdparty/saxon9he.jar
+SCILAB_BINARY_VERSION = 5.5.2
+SCILAB_LIBRARY_VERSION = 5:5:2
+SCILAB_VERSION_MAINTENANCE = 2
+SCILAB_VERSION_MAJOR = 5
+SCILAB_VERSION_MINOR = 5
+SCIRENDERER = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
+SCIRENDERER_CP = $SCILAB/modules/scirenderer/jar/scirenderer.jar
+SCI_CFLAGS = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector
+SCI_CXXFLAGS = -DNDEBUG -fno-stack-protector
+SCI_FFLAGS = -DNDEBUG -m64 -fPIC
+SCI_LDFLAGS =
+SED = /bin/sed
+SET_MAKE =
+SET_RELOCATABLE =
+SHELL = /bin/bash
+SKINLF = /home/shashank/scilab-master_5.5.2/thirdparty/skinlf.jar
+SPLINT = no
+STRIP = strip
+SWIG_BIN =
+SWIG_JAVA =
+SWIG_RUNTIME_LIBS_DIR =
+SWIG_SCILAB =
+TCLTK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -ltk8.5 -L/home/shashank/scilab-master_5.5.2/usr/lib -ltcl8.5 -ldl
+TCL_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include
+TK_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include
+UMFPACK_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+UMFPACK_ENABLE = yes
+UMFPACK_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lumfpack -lamd
+USE_NLS = yes
+VERSION = 5
+WITH_OCAML =
+WITH_TKSCI = yes
+XCOS_ENABLE = yes
+XGETTEXT = /usr/bin/xgettext
+XGETTEXT_015 = /usr/bin/xgettext
+XGETTEXT_EXTRA_OPTIONS =
+XMKMF =
+XMLGRAPHICS_COMMONS = /home/shashank/scilab-master_5.5.2/thirdparty/xmlgraphics-commons-1.4.jar
+XML_APIS_EXT = /home/shashank/scilab-master_5.5.2/thirdparty/xml-apis-ext.jar
+XML_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/xml2-config
+XML_FLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include/libxml2
+XML_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -lm -ldl
+XML_VERSION = 2.9.1
+X_CFLAGS =
+X_EXTRA_LIBS =
+X_LIBS =
+X_PRE_LIBS =
+abs_builddir = /home/shashank/scilab-master_5.5.2/modules/time
+abs_srcdir = /home/shashank/scilab-master_5.5.2/modules/time
+abs_top_builddir = /home/shashank/scilab-master_5.5.2
+abs_top_srcdir = /home/shashank/scilab-master_5.5.2
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+ac_ct_F77 = gfortran
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+cxx_present = yes
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/shashank/scilab-master_5.5.2/config/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../
+top_builddir = ../..
+top_srcdir = ../..
+
+### SOURCES ###
+TIME_C_SOURCES = src/c/realtime.c \
+src/c/timer.c \
+src/c/getdate.c
+
+GATEWAY_C_SOURCES = sci_gateway/c/sci_realtime.c \
+sci_gateway/c/sci_timer.c \
+sci_gateway/c/sci_calendar.c \
+sci_gateway/c/sci_xpause.c \
+sci_gateway/c/sci_sleep.c \
+sci_gateway/c/sci_getdate.c \
+sci_gateway/c/gw_time.c
+
+libscitime_la_CPPFLAGS = -I$(srcdir)/includes/ \
+ -I$(srcdir)/src/c/ \
+ -I$(top_srcdir)/modules/api_scilab/includes/ \
+ -I$(top_srcdir)/modules/localization/includes/ \
+ -I$(top_srcdir)/modules/output_stream/includes/ \
+ $(AM_CPPFLAGS)
+
+#pkglib_LTLIBRARIES = libscitime.la
+noinst_LTLIBRARIES = libscitime-algo.la libscitime.la
+#noinst_LTLIBRARIES = libscitime-algo.la
+libscitime_algo_la_SOURCES = $(TIME_C_SOURCES)
+libscitime_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscitime_algo_la_CPPFLAGS = $(libscitime_la_CPPFLAGS)
+
+# For the code check (splint)
+CHECK_SRC = $(libscitime_la_SOURCES)
+INCLUDE_FLAGS = $(libscitime_la_CPPFLAGS)
+libscitime_la_LIBADD = libscitime-algo.la
+
+#### Target ######
+modulename = time
+
+#### time : Conf files ####
+libscitime_la_rootdir = $(mydatadir)
+libscitime_la_root_DATA = license.txt
+
+#### time : init scripts ####
+libscitime_la_etcdir = $(mydatadir)/etc
+libscitime_la_etc_DATA = etc/time.quit etc/time.start
+
+#### time : gateway declaration ####
+libscitime_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libscitime_la_sci_gateway_DATA = sci_gateway/time_gateway.xml
+
+#### time : include files ####
+libscitime_la_includedir = $(pkgincludedir)
+libscitime_la_include_HEADERS = includes/realtime.h \
+includes/timer.h
+
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_1)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED AT THE MOMENT
+SUFFIXES = .sci
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin .c .lo .o .obj
+$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/time/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign modules/time/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: # $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
+install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+ list2=; for p in $$list; do \
+ if test -f $$p; then \
+ list2="$$list2 $$p"; \
+ else :; fi; \
+ done; \
+ test -z "$$list2" || { \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
+ }
+
+uninstall-pkglibLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
+ done
+
+clean-pkglibLTLIBRARIES:
+ -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
+ @list='$(pkglib_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+src/c/$(am__dirstamp):
+ @$(MKDIR_P) src/c
+ @: > src/c/$(am__dirstamp)
+src/c/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) src/c/$(DEPDIR)
+ @: > src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscitime_algo_la-realtime.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscitime_algo_la-timer.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscitime_algo_la-getdate.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+
+libscitime-algo.la: $(libscitime_algo_la_OBJECTS) $(libscitime_algo_la_DEPENDENCIES) $(EXTRA_libscitime_algo_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libscitime_algo_la_rpath) $(libscitime_algo_la_OBJECTS) $(libscitime_algo_la_LIBADD) $(LIBS)
+sci_gateway/c/$(am__dirstamp):
+ @$(MKDIR_P) sci_gateway/c
+ @: > sci_gateway/c/$(am__dirstamp)
+sci_gateway/c/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) sci_gateway/c/$(DEPDIR)
+ @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_realtime.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_timer.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_calendar.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_xpause.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_sleep.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_getdate.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-gw_time.lo: sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+
+libscitime.la: $(libscitime_la_OBJECTS) $(libscitime_la_DEPENDENCIES) $(EXTRA_libscitime_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libscitime_la_rpath) $(libscitime_la_OBJECTS) $(libscitime_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+ -rm -f sci_gateway/c/*.$(OBJEXT)
+ -rm -f sci_gateway/c/*.lo
+ -rm -f src/c/*.$(OBJEXT)
+ -rm -f src/c/*.lo
+
+distclean-compile:
+ -rm -f *.tab.c
+
+include sci_gateway/c/$(DEPDIR)/libscitime_la-gw_time.Plo
+include sci_gateway/c/$(DEPDIR)/libscitime_la-sci_calendar.Plo
+include sci_gateway/c/$(DEPDIR)/libscitime_la-sci_getdate.Plo
+include sci_gateway/c/$(DEPDIR)/libscitime_la-sci_realtime.Plo
+include sci_gateway/c/$(DEPDIR)/libscitime_la-sci_sleep.Plo
+include sci_gateway/c/$(DEPDIR)/libscitime_la-sci_timer.Plo
+include sci_gateway/c/$(DEPDIR)/libscitime_la-sci_xpause.Plo
+include src/c/$(DEPDIR)/libscitime_algo_la-getdate.Plo
+include src/c/$(DEPDIR)/libscitime_algo_la-realtime.Plo
+include src/c/$(DEPDIR)/libscitime_algo_la-timer.Plo
+
+.c.o:
+ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+ $(am__mv) $$depbase.Tpo $$depbase.Po
+# $(AM_V_CC)source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+ $(am__mv) $$depbase.Tpo $$depbase.Po
+# $(AM_V_CC)source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+ $(am__mv) $$depbase.Tpo $$depbase.Plo
+# $(AM_V_CC)source='$<' object='$@' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $<
+
+src/c/libscitime_algo_la-realtime.lo: src/c/realtime.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscitime_algo_la-realtime.lo -MD -MP -MF src/c/$(DEPDIR)/libscitime_algo_la-realtime.Tpo -c -o src/c/libscitime_algo_la-realtime.lo `test -f 'src/c/realtime.c' || echo '$(srcdir)/'`src/c/realtime.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscitime_algo_la-realtime.Tpo src/c/$(DEPDIR)/libscitime_algo_la-realtime.Plo
+# $(AM_V_CC)source='src/c/realtime.c' object='src/c/libscitime_algo_la-realtime.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscitime_algo_la-realtime.lo `test -f 'src/c/realtime.c' || echo '$(srcdir)/'`src/c/realtime.c
+
+src/c/libscitime_algo_la-timer.lo: src/c/timer.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscitime_algo_la-timer.lo -MD -MP -MF src/c/$(DEPDIR)/libscitime_algo_la-timer.Tpo -c -o src/c/libscitime_algo_la-timer.lo `test -f 'src/c/timer.c' || echo '$(srcdir)/'`src/c/timer.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscitime_algo_la-timer.Tpo src/c/$(DEPDIR)/libscitime_algo_la-timer.Plo
+# $(AM_V_CC)source='src/c/timer.c' object='src/c/libscitime_algo_la-timer.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscitime_algo_la-timer.lo `test -f 'src/c/timer.c' || echo '$(srcdir)/'`src/c/timer.c
+
+src/c/libscitime_algo_la-getdate.lo: src/c/getdate.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscitime_algo_la-getdate.lo -MD -MP -MF src/c/$(DEPDIR)/libscitime_algo_la-getdate.Tpo -c -o src/c/libscitime_algo_la-getdate.lo `test -f 'src/c/getdate.c' || echo '$(srcdir)/'`src/c/getdate.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscitime_algo_la-getdate.Tpo src/c/$(DEPDIR)/libscitime_algo_la-getdate.Plo
+# $(AM_V_CC)source='src/c/getdate.c' object='src/c/libscitime_algo_la-getdate.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscitime_algo_la-getdate.lo `test -f 'src/c/getdate.c' || echo '$(srcdir)/'`src/c/getdate.c
+
+sci_gateway/c/libscitime_la-sci_realtime.lo: sci_gateway/c/sci_realtime.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_realtime.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_realtime.Tpo -c -o sci_gateway/c/libscitime_la-sci_realtime.lo `test -f 'sci_gateway/c/sci_realtime.c' || echo '$(srcdir)/'`sci_gateway/c/sci_realtime.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_realtime.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_realtime.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_realtime.c' object='sci_gateway/c/libscitime_la-sci_realtime.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_realtime.lo `test -f 'sci_gateway/c/sci_realtime.c' || echo '$(srcdir)/'`sci_gateway/c/sci_realtime.c
+
+sci_gateway/c/libscitime_la-sci_timer.lo: sci_gateway/c/sci_timer.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_timer.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_timer.Tpo -c -o sci_gateway/c/libscitime_la-sci_timer.lo `test -f 'sci_gateway/c/sci_timer.c' || echo '$(srcdir)/'`sci_gateway/c/sci_timer.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_timer.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_timer.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_timer.c' object='sci_gateway/c/libscitime_la-sci_timer.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_timer.lo `test -f 'sci_gateway/c/sci_timer.c' || echo '$(srcdir)/'`sci_gateway/c/sci_timer.c
+
+sci_gateway/c/libscitime_la-sci_calendar.lo: sci_gateway/c/sci_calendar.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_calendar.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_calendar.Tpo -c -o sci_gateway/c/libscitime_la-sci_calendar.lo `test -f 'sci_gateway/c/sci_calendar.c' || echo '$(srcdir)/'`sci_gateway/c/sci_calendar.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_calendar.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_calendar.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_calendar.c' object='sci_gateway/c/libscitime_la-sci_calendar.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_calendar.lo `test -f 'sci_gateway/c/sci_calendar.c' || echo '$(srcdir)/'`sci_gateway/c/sci_calendar.c
+
+sci_gateway/c/libscitime_la-sci_xpause.lo: sci_gateway/c/sci_xpause.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_xpause.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_xpause.Tpo -c -o sci_gateway/c/libscitime_la-sci_xpause.lo `test -f 'sci_gateway/c/sci_xpause.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xpause.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_xpause.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_xpause.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_xpause.c' object='sci_gateway/c/libscitime_la-sci_xpause.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_xpause.lo `test -f 'sci_gateway/c/sci_xpause.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xpause.c
+
+sci_gateway/c/libscitime_la-sci_sleep.lo: sci_gateway/c/sci_sleep.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_sleep.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_sleep.Tpo -c -o sci_gateway/c/libscitime_la-sci_sleep.lo `test -f 'sci_gateway/c/sci_sleep.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sleep.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_sleep.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_sleep.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_sleep.c' object='sci_gateway/c/libscitime_la-sci_sleep.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_sleep.lo `test -f 'sci_gateway/c/sci_sleep.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sleep.c
+
+sci_gateway/c/libscitime_la-sci_getdate.lo: sci_gateway/c/sci_getdate.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_getdate.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_getdate.Tpo -c -o sci_gateway/c/libscitime_la-sci_getdate.lo `test -f 'sci_gateway/c/sci_getdate.c' || echo '$(srcdir)/'`sci_gateway/c/sci_getdate.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_getdate.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_getdate.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_getdate.c' object='sci_gateway/c/libscitime_la-sci_getdate.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_getdate.lo `test -f 'sci_gateway/c/sci_getdate.c' || echo '$(srcdir)/'`sci_gateway/c/sci_getdate.c
+
+sci_gateway/c/libscitime_la-gw_time.lo: sci_gateway/c/gw_time.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-gw_time.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-gw_time.Tpo -c -o sci_gateway/c/libscitime_la-gw_time.lo `test -f 'sci_gateway/c/gw_time.c' || echo '$(srcdir)/'`sci_gateway/c/gw_time.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-gw_time.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-gw_time.Plo
+# $(AM_V_CC)source='sci_gateway/c/gw_time.c' object='sci_gateway/c/libscitime_la-gw_time.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-gw_time.lo `test -f 'sci_gateway/c/gw_time.c' || echo '$(srcdir)/'`sci_gateway/c/gw_time.c
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+ -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs
+ -rm -rf src/c/.libs src/c/_libs
+install-libscitime_la_etcDATA: $(libscitime_la_etc_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscitime_la_etc_DATA)'; test -n "$(libscitime_la_etcdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscitime_la_etcdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscitime_la_etcdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscitime_la_etcdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscitime_la_etcdir)" || exit $$?; \
+ done
+
+uninstall-libscitime_la_etcDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscitime_la_etc_DATA)'; test -n "$(libscitime_la_etcdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscitime_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libscitime_la_rootDATA: $(libscitime_la_root_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscitime_la_root_DATA)'; test -n "$(libscitime_la_rootdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscitime_la_rootdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscitime_la_rootdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscitime_la_rootdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscitime_la_rootdir)" || exit $$?; \
+ done
+
+uninstall-libscitime_la_rootDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscitime_la_root_DATA)'; test -n "$(libscitime_la_rootdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscitime_la_rootdir)'; $(am__uninstall_files_from_dir)
+install-libscitime_la_sci_gatewayDATA: $(libscitime_la_sci_gateway_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscitime_la_sci_gateway_DATA)'; test -n "$(libscitime_la_sci_gatewaydir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscitime_la_sci_gatewaydir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscitime_la_sci_gatewaydir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscitime_la_sci_gatewaydir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscitime_la_sci_gatewaydir)" || exit $$?; \
+ done
+
+uninstall-libscitime_la_sci_gatewayDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscitime_la_sci_gateway_DATA)'; test -n "$(libscitime_la_sci_gatewaydir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscitime_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir)
+install-libscitime_la_includeHEADERS: $(libscitime_la_include_HEADERS)
+ @$(NORMAL_INSTALL)
+ @list='$(libscitime_la_include_HEADERS)'; test -n "$(libscitime_la_includedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscitime_la_includedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscitime_la_includedir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscitime_la_includedir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscitime_la_includedir)" || exit $$?; \
+ done
+
+uninstall-libscitime_la_includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscitime_la_include_HEADERS)'; test -n "$(libscitime_la_includedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscitime_la_includedir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-local
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
+installdirs:
+ for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscitime_la_etcdir)" "$(DESTDIR)$(libscitime_la_rootdir)" "$(DESTDIR)$(libscitime_la_sci_gatewaydir)" "$(DESTDIR)$(libscitime_la_includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+ -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+ -rm -f sci_gateway/c/$(am__dirstamp)
+ -rm -f src/c/$(DEPDIR)/$(am__dirstamp)
+ -rm -f src/c/$(am__dirstamp)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local \
+ clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local install-libscitime_la_etcDATA \
+ install-libscitime_la_includeHEADERS \
+ install-libscitime_la_rootDATA \
+ install-libscitime_la_sci_gatewayDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-pkglibLTLIBRARIES
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libscitime_la_etcDATA \
+ uninstall-libscitime_la_includeHEADERS \
+ uninstall-libscitime_la_rootDATA \
+ uninstall-libscitime_la_sci_gatewayDATA \
+ uninstall-pkglibLTLIBRARIES
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
+ check-local clean clean-generic clean-libtool clean-local \
+ clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \
+ ctags ctags-am distclean distclean-compile distclean-generic \
+ distclean-libtool distclean-local distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-data-local install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-html-local install-info \
+ install-info-am install-libscitime_la_etcDATA \
+ install-libscitime_la_includeHEADERS \
+ install-libscitime_la_rootDATA \
+ install-libscitime_la_sci_gatewayDATA install-man install-pdf \
+ install-pdf-am install-pkglibLTLIBRARIES install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am uninstall-libscitime_la_etcDATA \
+ uninstall-libscitime_la_includeHEADERS \
+ uninstall-libscitime_la_rootDATA \
+ uninstall-libscitime_la_sci_gatewayDATA \
+ uninstall-pkglibLTLIBRARIES
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+ if test -d $(mydatadir)/tests; then \
+ @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+ fi
+check-code:
+ if test -f build.xml; then \
+ $(ANT) checkstyle; \
+ fi
+ if test -x "$(SPLINT)"; then \
+ $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+ fi
+java:
+# Some configurations needs to export JAVA_HOME in the current env
+ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT); \
+ fi
+
+clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT) clean; \
+ fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+#swig: $(SWIG_WRAPPERS)
+# @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+# SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+# if test -n "$(SWIG_WRAPPERS)"; then \
+# for file in $(SWIG_WRAPPERS) ; do \
+# echo "Swig process of $$file (Java) ..."; \
+# $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
+# done; \
+# fi
+
+#swig-scilab: $(SWIG_SCILAB_WRAPPERS)
+# @SWIG_OUTDIR=src/swig/; \
+# if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
+# for file in $(SWIG_SCILAB_WRAPPERS) ; do \
+# echo "Swig process of $$file (Scilab) ..."; \
+# $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
+# done; \
+# fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+#giws: $(GIWS_WRAPPERS)
+# @GIWS_OUTPUTDIR=src/jni/; \
+# MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
+# if test -n "$(GIWS_WRAPPERS)"; then \
+# for file in $(GIWS_WRAPPERS) ; do \
+# echo "GIWS process of $$file ..."; \
+# if test -z "$(GIWS_OPTIONS)"; then \
+# $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+# else \
+# echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
+# $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+# fi \
+# done; \
+# fi
+
+#giws-exception:
+# @GIWS_OUTPUTDIR=src/jni/;\
+# echo "GIWS: Generation of exception class ..."; \
+# $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
+
+macros:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been built"; \
+ else \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+ fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+ @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+ rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+ done
+
+test:
+# More tests could be added here
+ @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT) test; \
+ fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been build"; \
+ else \
+ echo "Creating $@"; \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+ fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+ @if test -d $(srcdir)/javadoc; then \
+ cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+ fi
+# If the user wants the help sources to be installed
+ @echo "-------- Install of XML sources of help files --------"; \
+ for lang in $(ALL_LINGUAS); do \
+ if test -d $(srcdir)/help/$$lang; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+ done ; \
+ fi; \
+ fi; \
+ done; \
+ @echo "-------- Install of MathML sources --------"; \
+ if test -d $(srcdir)/help/mml/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+ done ; \
+ fi; \
+ fi
+install-data-local:
+# Install the tests
+ @echo "-------- Install tests (if any) --------"; \
+ for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the help chapter
+ @echo "-------- Install the help chapter (if any) --------"; \
+ for lang in $(HELP_CHAPTERLANG); do \
+ HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+ if test -f $$HELPFILE; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ fi; \
+ done
+# Install the demos & examples
+ @echo "-------- Install demos & examples (if any) --------"; \
+ for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the macros
+ @echo "-------- Install macros (if any) --------"; \
+ for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ if test -d $(srcdir)/$$dir/; then \
+ FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+ if test -n "$(MACROSSPECIALEXT)"; then \
+ specialExtDir=""; \
+ for specialExt in $(MACROSSPECIALEXT); do \
+ specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+ done; \
+ FILELIST="$$FILELIST $$specialExtDir"; \
+ fi; \
+ for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+ done; \
+ fi; \
+ done
+# Install java files (.jar)
+ @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+ echo "-------- Install jar files --------"; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+ for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+ done ; \
+ fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+clean-local: clean-java
+#clean-local:
+
+distclean-local:
+ rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/modules/time/Makefile.am b/modules/time/Makefile.am
new file mode 100755
index 000000000..966d82766
--- /dev/null
+++ b/modules/time/Makefile.am
@@ -0,0 +1,69 @@
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
+#
+# This file is distributed under the same license as the Scilab package.
+
+### SOURCES ###
+TIME_C_SOURCES = src/c/realtime.c \
+src/c/timer.c \
+src/c/getdate.c
+
+GATEWAY_C_SOURCES = sci_gateway/c/sci_realtime.c \
+sci_gateway/c/sci_timer.c \
+sci_gateway/c/sci_calendar.c \
+sci_gateway/c/sci_xpause.c \
+sci_gateway/c/sci_sleep.c \
+sci_gateway/c/sci_getdate.c \
+sci_gateway/c/gw_time.c
+
+libscitime_la_CPPFLAGS= -I$(srcdir)/includes/ \
+ -I$(srcdir)/src/c/ \
+ -I$(top_srcdir)/modules/api_scilab/includes/ \
+ -I$(top_srcdir)/modules/localization/includes/ \
+ -I$(top_srcdir)/modules/output_stream/includes/ \
+ $(AM_CPPFLAGS)
+
+if MAINTAINER_MODE
+pkglib_LTLIBRARIES = libscitime.la
+noinst_LTLIBRARIES = libscitime-algo.la
+else
+noinst_LTLIBRARIES = libscitime-algo.la libscitime.la
+endif
+
+
+libscitime_algo_la_SOURCES = $(TIME_C_SOURCES)
+libscitime_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscitime_algo_la_CPPFLAGS = $(libscitime_la_CPPFLAGS)
+
+# For the code check (splint)
+CHECK_SRC= $(libscitime_la_SOURCES)
+INCLUDE_FLAGS = $(libscitime_la_CPPFLAGS)
+
+libscitime_la_LIBADD = libscitime-algo.la
+
+
+
+#### Target ######
+modulename=time
+
+
+#### time : Conf files ####
+libscitime_la_rootdir = $(mydatadir)
+libscitime_la_root_DATA = license.txt
+
+
+#### time : init scripts ####
+libscitime_la_etcdir = $(mydatadir)/etc
+libscitime_la_etc_DATA = etc/time.quit etc/time.start
+
+#### time : gateway declaration ####
+libscitime_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libscitime_la_sci_gateway_DATA = sci_gateway/time_gateway.xml
+
+#### time : include files ####
+libscitime_la_includedir=$(pkgincludedir)
+libscitime_la_include_HEADERS = includes/realtime.h \
+includes/timer.h
+
+
+include $(top_srcdir)/Makefile.incl.am
diff --git a/modules/time/Makefile.in b/modules/time/Makefile.in
new file mode 100755
index 000000000..875a3fadf
--- /dev/null
+++ b/modules/time/Makefile.in
@@ -0,0 +1,1441 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
+#
+# This file is distributed under the same license as the Scilab package.
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# 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
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+
+
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \
+ $(top_srcdir)/config/depcomp $(libscitime_la_include_HEADERS)
+@NEED_JAVA_TRUE@am__append_1 = java
+subdir = modules/time
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+ $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+ $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+ $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+ $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+ $(top_srcdir)/m4/intel_compiler.m4 \
+ $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+ $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+ $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+ $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
+ $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
+ $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
+ $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
+ $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(pkglibdir)" \
+ "$(DESTDIR)$(libscitime_la_etcdir)" \
+ "$(DESTDIR)$(libscitime_la_rootdir)" \
+ "$(DESTDIR)$(libscitime_la_sci_gatewaydir)" \
+ "$(DESTDIR)$(libscitime_la_includedir)"
+LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
+libscitime_algo_la_LIBADD =
+am__dirstamp = $(am__leading_dot)dirstamp
+am__objects_1 = src/c/libscitime_algo_la-realtime.lo \
+ src/c/libscitime_algo_la-timer.lo \
+ src/c/libscitime_algo_la-getdate.lo
+am_libscitime_algo_la_OBJECTS = $(am__objects_1)
+libscitime_algo_la_OBJECTS = $(am_libscitime_algo_la_OBJECTS)
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 =
+@MAINTAINER_MODE_FALSE@am_libscitime_algo_la_rpath =
+@MAINTAINER_MODE_TRUE@am_libscitime_algo_la_rpath =
+libscitime_la_DEPENDENCIES = libscitime-algo.la
+am__objects_2 = sci_gateway/c/libscitime_la-sci_realtime.lo \
+ sci_gateway/c/libscitime_la-sci_timer.lo \
+ sci_gateway/c/libscitime_la-sci_calendar.lo \
+ sci_gateway/c/libscitime_la-sci_xpause.lo \
+ sci_gateway/c/libscitime_la-sci_sleep.lo \
+ sci_gateway/c/libscitime_la-sci_getdate.lo \
+ sci_gateway/c/libscitime_la-gw_time.lo
+am_libscitime_la_OBJECTS = $(am__objects_2)
+libscitime_la_OBJECTS = $(am_libscitime_la_OBJECTS)
+@MAINTAINER_MODE_FALSE@am_libscitime_la_rpath =
+@MAINTAINER_MODE_TRUE@am_libscitime_la_rpath = -rpath $(pkglibdir)
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(libscitime_algo_la_SOURCES) $(libscitime_la_SOURCES)
+DIST_SOURCES = $(libscitime_algo_la_SOURCES) $(libscitime_la_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+DATA = $(libscitime_la_etc_DATA) $(libscitime_la_root_DATA) \
+ $(libscitime_la_sci_gateway_DATA)
+HEADERS = $(libscitime_la_include_HEADERS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+ALL_LINGUAS = @ALL_LINGUAS@
+ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+ANT = @ANT@
+ANTLR = @ANTLR@
+AR = @AR@
+ARPACK_LIBS = @ARPACK_LIBS@
+ASM3 = @ASM3@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
+AWK = @AWK@
+BATIK = @BATIK@
+BLAS_LIBS = @BLAS_LIBS@
+CC = @CC@
+CCACHE = @CCACHE@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CHECKSTYLE = @CHECKSTYLE@
+COBERTURA = @COBERTURA@
+COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
+COMMONS_IO = @COMMONS_IO@
+COMMONS_LOGGING = @COMMONS_LOGGING@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CURL_CFLAGS = @CURL_CFLAGS@
+CURL_CONFIG = @CURL_CONFIG@
+CURL_LIBS = @CURL_LIBS@
+CURL_VERSION = @CURL_VERSION@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOCBOOK_ROOT = @DOCBOOK_ROOT@
+DOXYGEN_BIN = @DOXYGEN_BIN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+ECJ = @ECJ@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FFTW3_LIB = @FFTW3_LIB@
+FFTW_ENABLE = @FFTW_ENABLE@
+FGREP = @FGREP@
+FLEXDOCK = @FLEXDOCK@
+FLIBS = @FLIBS@
+FOP = @FOP@
+FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
+FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
+FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
+FREEHEP_IO = @FREEHEP_IO@
+FREEHEP_UTIL = @FREEHEP_UTIL@
+GENHTML = @GENHTML@
+GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
+GIWS_BIN = @GIWS_BIN@
+GLUEGEN2_RT = @GLUEGEN2_RT@
+GMSGFMT = @GMSGFMT@
+GMSGFMT_015 = @GMSGFMT_015@
+GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
+GREP = @GREP@
+GUI_ENABLE = @GUI_ENABLE@
+HDF5_CFLAGS = @HDF5_CFLAGS@
+HDF5_LIBS = @HDF5_LIBS@
+HELP_ENABLE = @HELP_ENABLE@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLLIBS = @INTLLIBS@
+INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
+JAR = @JAR@
+JAVA = @JAVA@
+JAVAC = @JAVAC@
+JAVAC_DEBUG = @JAVAC_DEBUG@
+JAVADOC = @JAVADOC@
+JAVAH = @JAVAH@
+JAVASCI_ENABLE = @JAVASCI_ENABLE@
+JAVA_ENABLE = @JAVA_ENABLE@
+JAVA_G = @JAVA_G@
+JAVA_HOME = @JAVA_HOME@
+JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
+JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
+JDB = @JDB@
+JEUCLID_CORE = @JEUCLID_CORE@
+JGRAPHX = @JGRAPHX@
+JHALL = @JHALL@
+JLATEXMATH = @JLATEXMATH@
+JLATEXMATH_FOP = @JLATEXMATH_FOP@
+JOGL2 = @JOGL2@
+JROSETTA_API = @JROSETTA_API@
+JROSETTA_ENGINE = @JROSETTA_ENGINE@
+JUNIT4 = @JUNIT4@
+LAPACK_LIBS = @LAPACK_LIBS@
+LCOV = @LCOV@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBM = @LIBM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LOGGING_LEVEL = @LOGGING_LEVEL@
+LOOKS = @LOOKS@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MATIO_CFLAGS = @MATIO_CFLAGS@
+MATIO_ENABLE = @MATIO_ENABLE@
+MATIO_LIBS = @MATIO_LIBS@
+MKDIR_P = @MKDIR_P@
+MPI_ENABLE = @MPI_ENABLE@
+MSGCAT = @MSGCAT@
+MSGFMT = @MSGFMT@
+MSGFMT_015 = @MSGFMT_015@
+MSGMERGE = @MSGMERGE@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OCAMLC = @OCAMLC@
+OCAMLDEP = @OCAMLDEP@
+OCAMLLEX = @OCAMLLEX@
+OCAMLOPT = @OCAMLOPT@
+OCAMLYACC = @OCAMLYACC@
+OPENMPI_CC = @OPENMPI_CC@
+OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
+OPENMPI_CXX = @OPENMPI_CXX@
+OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
+OPENMPI_LIBS = @OPENMPI_LIBS@
+OPENMP_CFLAGS = @OPENMP_CFLAGS@
+OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
+OPENMP_ENABLE = @OPENMP_ENABLE@
+OPENMP_LIBS = @OPENMP_LIBS@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PCRE_CFLAGS = @PCRE_CFLAGS@
+PCRE_CONFIG = @PCRE_CONFIG@
+PCRE_LIBS = @PCRE_LIBS@
+PCRE_VERSION = @PCRE_VERSION@
+PKG_CONFIG = @PKG_CONFIG@
+POSUB = @POSUB@
+POW_LIB = @POW_LIB@
+PYTHON = @PYTHON@
+RANLIB = @RANLIB@
+RELOCATABLE = @RELOCATABLE@
+RT_LIB = @RT_LIB@
+SAXON = @SAXON@
+SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
+SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
+SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
+SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
+SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
+SCIRENDERER = @SCIRENDERER@
+SCIRENDERER_CP = @SCIRENDERER_CP@
+SCI_CFLAGS = @SCI_CFLAGS@
+SCI_CXXFLAGS = @SCI_CXXFLAGS@
+SCI_FFLAGS = @SCI_FFLAGS@
+SCI_LDFLAGS = @SCI_LDFLAGS@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SET_RELOCATABLE = @SET_RELOCATABLE@
+SHELL = @SHELL@
+SKINLF = @SKINLF@
+SPLINT = @SPLINT@
+STRIP = @STRIP@
+SWIG_BIN = @SWIG_BIN@
+SWIG_JAVA = @SWIG_JAVA@
+SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
+SWIG_SCILAB = @SWIG_SCILAB@
+TCLTK_LIBS = @TCLTK_LIBS@
+TCL_INC_PATH = @TCL_INC_PATH@
+TK_INC_PATH = @TK_INC_PATH@
+UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
+UMFPACK_ENABLE = @UMFPACK_ENABLE@
+UMFPACK_LIB = @UMFPACK_LIB@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+WITH_OCAML = @WITH_OCAML@
+WITH_TKSCI = @WITH_TKSCI@
+XCOS_ENABLE = @XCOS_ENABLE@
+XGETTEXT = @XGETTEXT@
+XGETTEXT_015 = @XGETTEXT_015@
+XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
+XMKMF = @XMKMF@
+XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
+XML_APIS_EXT = @XML_APIS_EXT@
+XML_CONFIG = @XML_CONFIG@
+XML_FLAGS = @XML_FLAGS@
+XML_LIBS = @XML_LIBS@
+XML_VERSION = @XML_VERSION@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+cxx_present = @cxx_present@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+### SOURCES ###
+TIME_C_SOURCES = src/c/realtime.c \
+src/c/timer.c \
+src/c/getdate.c
+
+GATEWAY_C_SOURCES = sci_gateway/c/sci_realtime.c \
+sci_gateway/c/sci_timer.c \
+sci_gateway/c/sci_calendar.c \
+sci_gateway/c/sci_xpause.c \
+sci_gateway/c/sci_sleep.c \
+sci_gateway/c/sci_getdate.c \
+sci_gateway/c/gw_time.c
+
+libscitime_la_CPPFLAGS = -I$(srcdir)/includes/ \
+ -I$(srcdir)/src/c/ \
+ -I$(top_srcdir)/modules/api_scilab/includes/ \
+ -I$(top_srcdir)/modules/localization/includes/ \
+ -I$(top_srcdir)/modules/output_stream/includes/ \
+ $(AM_CPPFLAGS)
+
+@MAINTAINER_MODE_TRUE@pkglib_LTLIBRARIES = libscitime.la
+@MAINTAINER_MODE_FALSE@noinst_LTLIBRARIES = libscitime-algo.la libscitime.la
+@MAINTAINER_MODE_TRUE@noinst_LTLIBRARIES = libscitime-algo.la
+libscitime_algo_la_SOURCES = $(TIME_C_SOURCES)
+libscitime_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscitime_algo_la_CPPFLAGS = $(libscitime_la_CPPFLAGS)
+
+# For the code check (splint)
+CHECK_SRC = $(libscitime_la_SOURCES)
+INCLUDE_FLAGS = $(libscitime_la_CPPFLAGS)
+libscitime_la_LIBADD = libscitime-algo.la
+
+#### Target ######
+modulename = time
+
+#### time : Conf files ####
+libscitime_la_rootdir = $(mydatadir)
+libscitime_la_root_DATA = license.txt
+
+#### time : init scripts ####
+libscitime_la_etcdir = $(mydatadir)/etc
+libscitime_la_etc_DATA = etc/time.quit etc/time.start
+
+#### time : gateway declaration ####
+libscitime_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libscitime_la_sci_gateway_DATA = sci_gateway/time_gateway.xml
+
+#### time : include files ####
+libscitime_la_includedir = $(pkgincludedir)
+libscitime_la_include_HEADERS = includes/realtime.h \
+includes/timer.h
+
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_1)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED AT THE MOMENT
+SUFFIXES = .sci
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/time/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign modules/time/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
+install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+ list2=; for p in $$list; do \
+ if test -f $$p; then \
+ list2="$$list2 $$p"; \
+ else :; fi; \
+ done; \
+ test -z "$$list2" || { \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
+ }
+
+uninstall-pkglibLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
+ done
+
+clean-pkglibLTLIBRARIES:
+ -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
+ @list='$(pkglib_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+src/c/$(am__dirstamp):
+ @$(MKDIR_P) src/c
+ @: > src/c/$(am__dirstamp)
+src/c/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) src/c/$(DEPDIR)
+ @: > src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscitime_algo_la-realtime.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscitime_algo_la-timer.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscitime_algo_la-getdate.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+
+libscitime-algo.la: $(libscitime_algo_la_OBJECTS) $(libscitime_algo_la_DEPENDENCIES) $(EXTRA_libscitime_algo_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libscitime_algo_la_rpath) $(libscitime_algo_la_OBJECTS) $(libscitime_algo_la_LIBADD) $(LIBS)
+sci_gateway/c/$(am__dirstamp):
+ @$(MKDIR_P) sci_gateway/c
+ @: > sci_gateway/c/$(am__dirstamp)
+sci_gateway/c/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) sci_gateway/c/$(DEPDIR)
+ @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_realtime.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_timer.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_calendar.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_xpause.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_sleep.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-sci_getdate.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscitime_la-gw_time.lo: sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+
+libscitime.la: $(libscitime_la_OBJECTS) $(libscitime_la_DEPENDENCIES) $(EXTRA_libscitime_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libscitime_la_rpath) $(libscitime_la_OBJECTS) $(libscitime_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+ -rm -f sci_gateway/c/*.$(OBJEXT)
+ -rm -f sci_gateway/c/*.lo
+ -rm -f src/c/*.$(OBJEXT)
+ -rm -f src/c/*.lo
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscitime_la-gw_time.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscitime_la-sci_calendar.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscitime_la-sci_getdate.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscitime_la-sci_realtime.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscitime_la-sci_sleep.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscitime_la-sci_timer.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscitime_la-sci_xpause.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscitime_algo_la-getdate.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscitime_algo_la-realtime.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscitime_algo_la-timer.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+src/c/libscitime_algo_la-realtime.lo: src/c/realtime.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscitime_algo_la-realtime.lo -MD -MP -MF src/c/$(DEPDIR)/libscitime_algo_la-realtime.Tpo -c -o src/c/libscitime_algo_la-realtime.lo `test -f 'src/c/realtime.c' || echo '$(srcdir)/'`src/c/realtime.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscitime_algo_la-realtime.Tpo src/c/$(DEPDIR)/libscitime_algo_la-realtime.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/realtime.c' object='src/c/libscitime_algo_la-realtime.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscitime_algo_la-realtime.lo `test -f 'src/c/realtime.c' || echo '$(srcdir)/'`src/c/realtime.c
+
+src/c/libscitime_algo_la-timer.lo: src/c/timer.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscitime_algo_la-timer.lo -MD -MP -MF src/c/$(DEPDIR)/libscitime_algo_la-timer.Tpo -c -o src/c/libscitime_algo_la-timer.lo `test -f 'src/c/timer.c' || echo '$(srcdir)/'`src/c/timer.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscitime_algo_la-timer.Tpo src/c/$(DEPDIR)/libscitime_algo_la-timer.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/timer.c' object='src/c/libscitime_algo_la-timer.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscitime_algo_la-timer.lo `test -f 'src/c/timer.c' || echo '$(srcdir)/'`src/c/timer.c
+
+src/c/libscitime_algo_la-getdate.lo: src/c/getdate.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscitime_algo_la-getdate.lo -MD -MP -MF src/c/$(DEPDIR)/libscitime_algo_la-getdate.Tpo -c -o src/c/libscitime_algo_la-getdate.lo `test -f 'src/c/getdate.c' || echo '$(srcdir)/'`src/c/getdate.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscitime_algo_la-getdate.Tpo src/c/$(DEPDIR)/libscitime_algo_la-getdate.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/getdate.c' object='src/c/libscitime_algo_la-getdate.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscitime_algo_la-getdate.lo `test -f 'src/c/getdate.c' || echo '$(srcdir)/'`src/c/getdate.c
+
+sci_gateway/c/libscitime_la-sci_realtime.lo: sci_gateway/c/sci_realtime.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_realtime.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_realtime.Tpo -c -o sci_gateway/c/libscitime_la-sci_realtime.lo `test -f 'sci_gateway/c/sci_realtime.c' || echo '$(srcdir)/'`sci_gateway/c/sci_realtime.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_realtime.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_realtime.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_realtime.c' object='sci_gateway/c/libscitime_la-sci_realtime.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_realtime.lo `test -f 'sci_gateway/c/sci_realtime.c' || echo '$(srcdir)/'`sci_gateway/c/sci_realtime.c
+
+sci_gateway/c/libscitime_la-sci_timer.lo: sci_gateway/c/sci_timer.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_timer.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_timer.Tpo -c -o sci_gateway/c/libscitime_la-sci_timer.lo `test -f 'sci_gateway/c/sci_timer.c' || echo '$(srcdir)/'`sci_gateway/c/sci_timer.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_timer.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_timer.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_timer.c' object='sci_gateway/c/libscitime_la-sci_timer.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_timer.lo `test -f 'sci_gateway/c/sci_timer.c' || echo '$(srcdir)/'`sci_gateway/c/sci_timer.c
+
+sci_gateway/c/libscitime_la-sci_calendar.lo: sci_gateway/c/sci_calendar.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_calendar.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_calendar.Tpo -c -o sci_gateway/c/libscitime_la-sci_calendar.lo `test -f 'sci_gateway/c/sci_calendar.c' || echo '$(srcdir)/'`sci_gateway/c/sci_calendar.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_calendar.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_calendar.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_calendar.c' object='sci_gateway/c/libscitime_la-sci_calendar.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_calendar.lo `test -f 'sci_gateway/c/sci_calendar.c' || echo '$(srcdir)/'`sci_gateway/c/sci_calendar.c
+
+sci_gateway/c/libscitime_la-sci_xpause.lo: sci_gateway/c/sci_xpause.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_xpause.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_xpause.Tpo -c -o sci_gateway/c/libscitime_la-sci_xpause.lo `test -f 'sci_gateway/c/sci_xpause.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xpause.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_xpause.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_xpause.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xpause.c' object='sci_gateway/c/libscitime_la-sci_xpause.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_xpause.lo `test -f 'sci_gateway/c/sci_xpause.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xpause.c
+
+sci_gateway/c/libscitime_la-sci_sleep.lo: sci_gateway/c/sci_sleep.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_sleep.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_sleep.Tpo -c -o sci_gateway/c/libscitime_la-sci_sleep.lo `test -f 'sci_gateway/c/sci_sleep.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sleep.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_sleep.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_sleep.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_sleep.c' object='sci_gateway/c/libscitime_la-sci_sleep.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_sleep.lo `test -f 'sci_gateway/c/sci_sleep.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sleep.c
+
+sci_gateway/c/libscitime_la-sci_getdate.lo: sci_gateway/c/sci_getdate.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-sci_getdate.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-sci_getdate.Tpo -c -o sci_gateway/c/libscitime_la-sci_getdate.lo `test -f 'sci_gateway/c/sci_getdate.c' || echo '$(srcdir)/'`sci_gateway/c/sci_getdate.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-sci_getdate.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-sci_getdate.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_getdate.c' object='sci_gateway/c/libscitime_la-sci_getdate.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-sci_getdate.lo `test -f 'sci_gateway/c/sci_getdate.c' || echo '$(srcdir)/'`sci_gateway/c/sci_getdate.c
+
+sci_gateway/c/libscitime_la-gw_time.lo: sci_gateway/c/gw_time.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscitime_la-gw_time.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscitime_la-gw_time.Tpo -c -o sci_gateway/c/libscitime_la-gw_time.lo `test -f 'sci_gateway/c/gw_time.c' || echo '$(srcdir)/'`sci_gateway/c/gw_time.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscitime_la-gw_time.Tpo sci_gateway/c/$(DEPDIR)/libscitime_la-gw_time.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/gw_time.c' object='sci_gateway/c/libscitime_la-gw_time.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitime_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscitime_la-gw_time.lo `test -f 'sci_gateway/c/gw_time.c' || echo '$(srcdir)/'`sci_gateway/c/gw_time.c
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+ -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs
+ -rm -rf src/c/.libs src/c/_libs
+install-libscitime_la_etcDATA: $(libscitime_la_etc_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscitime_la_etc_DATA)'; test -n "$(libscitime_la_etcdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscitime_la_etcdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscitime_la_etcdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscitime_la_etcdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscitime_la_etcdir)" || exit $$?; \
+ done
+
+uninstall-libscitime_la_etcDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscitime_la_etc_DATA)'; test -n "$(libscitime_la_etcdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscitime_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libscitime_la_rootDATA: $(libscitime_la_root_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscitime_la_root_DATA)'; test -n "$(libscitime_la_rootdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscitime_la_rootdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscitime_la_rootdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscitime_la_rootdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscitime_la_rootdir)" || exit $$?; \
+ done
+
+uninstall-libscitime_la_rootDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscitime_la_root_DATA)'; test -n "$(libscitime_la_rootdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscitime_la_rootdir)'; $(am__uninstall_files_from_dir)
+install-libscitime_la_sci_gatewayDATA: $(libscitime_la_sci_gateway_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscitime_la_sci_gateway_DATA)'; test -n "$(libscitime_la_sci_gatewaydir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscitime_la_sci_gatewaydir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscitime_la_sci_gatewaydir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscitime_la_sci_gatewaydir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscitime_la_sci_gatewaydir)" || exit $$?; \
+ done
+
+uninstall-libscitime_la_sci_gatewayDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscitime_la_sci_gateway_DATA)'; test -n "$(libscitime_la_sci_gatewaydir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscitime_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir)
+install-libscitime_la_includeHEADERS: $(libscitime_la_include_HEADERS)
+ @$(NORMAL_INSTALL)
+ @list='$(libscitime_la_include_HEADERS)'; test -n "$(libscitime_la_includedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscitime_la_includedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscitime_la_includedir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscitime_la_includedir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscitime_la_includedir)" || exit $$?; \
+ done
+
+uninstall-libscitime_la_includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscitime_la_include_HEADERS)'; test -n "$(libscitime_la_includedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscitime_la_includedir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-local
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
+installdirs:
+ for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscitime_la_etcdir)" "$(DESTDIR)$(libscitime_la_rootdir)" "$(DESTDIR)$(libscitime_la_sci_gatewaydir)" "$(DESTDIR)$(libscitime_la_includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+ -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+ -rm -f sci_gateway/c/$(am__dirstamp)
+ -rm -f src/c/$(DEPDIR)/$(am__dirstamp)
+ -rm -f src/c/$(am__dirstamp)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local \
+ clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local install-libscitime_la_etcDATA \
+ install-libscitime_la_includeHEADERS \
+ install-libscitime_la_rootDATA \
+ install-libscitime_la_sci_gatewayDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-pkglibLTLIBRARIES
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libscitime_la_etcDATA \
+ uninstall-libscitime_la_includeHEADERS \
+ uninstall-libscitime_la_rootDATA \
+ uninstall-libscitime_la_sci_gatewayDATA \
+ uninstall-pkglibLTLIBRARIES
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
+ check-local clean clean-generic clean-libtool clean-local \
+ clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \
+ ctags ctags-am distclean distclean-compile distclean-generic \
+ distclean-libtool distclean-local distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-data-local install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-html-local install-info \
+ install-info-am install-libscitime_la_etcDATA \
+ install-libscitime_la_includeHEADERS \
+ install-libscitime_la_rootDATA \
+ install-libscitime_la_sci_gatewayDATA install-man install-pdf \
+ install-pdf-am install-pkglibLTLIBRARIES install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am uninstall-libscitime_la_etcDATA \
+ uninstall-libscitime_la_includeHEADERS \
+ uninstall-libscitime_la_rootDATA \
+ uninstall-libscitime_la_sci_gatewayDATA \
+ uninstall-pkglibLTLIBRARIES
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+ if test -d $(mydatadir)/tests; then \
+ @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+ fi
+check-code:
+ if test -f build.xml; then \
+ $(ANT) checkstyle; \
+ fi
+ if test -x "$(SPLINT)"; then \
+ $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+ fi
+@NEED_JAVA_TRUE@java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@ $(ANT); \
+@NEED_JAVA_TRUE@ fi
+
+@NEED_JAVA_TRUE@clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@ $(ANT) clean; \
+@NEED_JAVA_TRUE@ fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
+@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
+@SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \
+@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@ done; \
+@SWIG_TRUE@ fi
+
+@SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
+@SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \
+@SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
+@SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \
+@SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \
+@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@ done; \
+@SWIG_TRUE@ fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@GIWS_TRUE@giws: $(GIWS_WRAPPERS)
+@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \
+@GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
+@GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
+@GIWS_TRUE@ echo "GIWS process of $$file ..."; \
+@GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \
+@GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+@GIWS_TRUE@ else \
+@GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
+@GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+@GIWS_TRUE@ fi \
+@GIWS_TRUE@ done; \
+@GIWS_TRUE@ fi
+
+@GIWS_TRUE@giws-exception:
+@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
+@GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
+@GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
+
+macros:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been built"; \
+ else \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+ fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+ @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+ rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+ done
+
+test:
+# More tests could be added here
+ @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT) test; \
+ fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been build"; \
+ else \
+ echo "Creating $@"; \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+ fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+ @if test -d $(srcdir)/javadoc; then \
+ cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+ fi
+# If the user wants the help sources to be installed
+@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
+@INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
+@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
+@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+@INSTALL_HELP_XML_TRUE@ done ; \
+@INSTALL_HELP_XML_TRUE@ fi; \
+@INSTALL_HELP_XML_TRUE@ fi; \
+@INSTALL_HELP_XML_TRUE@ done; \
+@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
+@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
+@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+@INSTALL_HELP_XML_TRUE@ done ; \
+@INSTALL_HELP_XML_TRUE@ fi; \
+@INSTALL_HELP_XML_TRUE@ fi
+install-data-local:
+# Install the tests
+ @echo "-------- Install tests (if any) --------"; \
+ for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the help chapter
+ @echo "-------- Install the help chapter (if any) --------"; \
+ for lang in $(HELP_CHAPTERLANG); do \
+ HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+ if test -f $$HELPFILE; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ fi; \
+ done
+# Install the demos & examples
+ @echo "-------- Install demos & examples (if any) --------"; \
+ for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the macros
+ @echo "-------- Install macros (if any) --------"; \
+ for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ if test -d $(srcdir)/$$dir/; then \
+ FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+ if test -n "$(MACROSSPECIALEXT)"; then \
+ specialExtDir=""; \
+ for specialExt in $(MACROSSPECIALEXT); do \
+ specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+ done; \
+ FILELIST="$$FILELIST $$specialExtDir"; \
+ fi; \
+ for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+ done; \
+ fi; \
+ done
+# Install java files (.jar)
+ @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+ echo "-------- Install jar files --------"; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+ for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+ done ; \
+ fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+@NEED_JAVA_TRUE@clean-local: clean-java
+@NEED_JAVA_FALSE@clean-local:
+
+distclean-local:
+ rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/modules/time/core_Import.def b/modules/time/core_Import.def
new file mode 100755
index 000000000..07fb69b28
--- /dev/null
+++ b/modules/time/core_Import.def
@@ -0,0 +1,20 @@
+LIBRARY core.dll
+
+
+EXPORTS
+transposeMatrixDouble
+transposeMatrixInt
+callFunctionFromGateway
+com_
+stack_
+putlhsvar_
+getrhsvar_
+intersci_
+createvarfromptr_
+IsAScalar
+checklhs_
+checkrhs_
+check_scalar
+createvar_
+MyHeapAlloc
+MyHeapFree
diff --git a/modules/time/etc/time.quit b/modules/time/etc/time.quit
new file mode 100755
index 000000000..b64bbfc8d
--- /dev/null
+++ b/modules/time/etc/time.quit
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+// 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
+
+// =============================================================================
diff --git a/modules/time/etc/time.start b/modules/time/etc/time.start
new file mode 100755
index 000000000..2222b980e
--- /dev/null
+++ b/modules/time/etc/time.start
@@ -0,0 +1,14 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Pierre MARECHAL
+//
+// 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
+
+// Load functions libraries
+// =============================================================================
+load("SCI/modules/time/macros/lib");
+
+
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="calendar">
+ <refnamediv>
+ <refname>calendar</refname>
+ <refpurpose>Calendar</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>c=calendar()
+ c = calendar(y,m)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>c = calendar returns a list containing a calendar for the current month. The calendar runs Sunday to Saturday.</para>
+ <para>c = calendar(y,m), where y and m are integers, returns a calendar for the specified month of the specified year.</para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+calendar()
+calendar(1973,8)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="clock">
+ <refnamediv>
+ <refname>clock</refname>
+ <refpurpose>Return current time as date vector</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>c = clock</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>c = clock returns a 6-element date vector containing the current date and time in decimal form:</para>
+ <para>c = [year month day hour minute seconds]</para>
+ <para>the first five elements are integers. The seconds element is accurate to several digits beyond the decimal point.</para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+clock
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="date">
+ <refnamediv>
+ <refname>date</refname>
+ <refpurpose>Current date as date string</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>dt=date()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt</term>
+ <listitem>
+ <para>a string</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>dt=date() returns a string containing the date in dd-mmm-yyyy format.</para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+date()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="datenum">
+ <refnamediv>
+ <refname>datenum</refname>
+ <refpurpose>Convert to serial date number</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>N = datenum()
+ N = datenum(DT)
+ N = datenum(Y, M, D)
+ N = datenum(Y, M, D, H, MI, S)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ 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.
+ </para>
+ <para>
+ N = datenum() returns the serial date numbers corresponding to current date.
+ </para>
+ <para>
+ 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.
+ </para>
+ <para>
+ 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).
+ </para>
+ <para>
+ 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).
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// N = datenum()
+datenum()
+
+// N = datenum(DT)
+A = [ 0 1 1 0 0 0 ; 2005 2 8 21 37 30 ]
+datenum(A)
+
+// N = datenum(Y, M, D)
+
+Years = [0; 1973; 2006]
+Months = [1; 8; 2]
+Days = [1; 4; 8]
+datenum(Years,Months,Days)
+
+Years = [0 0 0 ; 0 0 0]
+Months = [1 1 1 ; 1 1 1]
+Days = [1 2 3 ; 4 5 6]
+datenum(Years,Months,Days)
+
+// N = datenum(Y, M, D, H, MI, S)
+
+Years = grand(5,10,'uin',0,2006)
+Months = grand(5,10,'uin',1,12)
+Days = grand(5,10,'uin',1,28)
+Hours = grand(5,10,'uin',0,23)
+Minutes = grand(5,10,'uin',0,59)
+Seconds = grand(5,10,'uin',0,59)
+datenum(Years,Months,Days,Hours,Minutes,Seconds)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="calendar">calendar</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="datevec">
+ <refnamediv>
+ <refname>datevec</refname>
+ <refpurpose>Date components</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>V=datevec(DT)
+ [Y,M,D,H,MI,S]=datevec(DT)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ 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.
+ </para>
+ <para>
+ [Y, M, D, H, MI, S] = datevec(DT) returns the components of the date
+ vector as individual variables. DT can be an array.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// First example
+datevec(720840)
+
+// Second example
+datevec(datenum())
+
+// Third example (With integers values)
+A = grand(10,12,'uin',1,1000000)
+datevec(A)
+
+// Fourth example (With real values)
+A = grand(10,12,'unf',1,1000000)
+datevec(A)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="calendar">calendar</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="eomday">
+ <refnamediv>
+ <refname>eomday</refname>
+ <refpurpose>Return last day of month</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>E = eomday(Y, M)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>Y</term>
+ <listitem>
+ <para>a vector/matrix containing integers values.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <varlistentry>
+ <term>M</term>
+ <listitem>
+ <para>a vector/matrix containing integers values.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <varlistentry>
+ <term>E</term>
+ <listitem>
+ <para>a vector/matrix containing integers values.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>E= eomday(Y, M)</literal> returns the last day of the year and month
+ given by corresponding elements of matrices <varname>Y</varname> and <varname>M</varname>.
+ </para>
+ <para>
+ <varname>Y</varname> and <varname>M</varname> must have the same sizes.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+eomday(2006,3);
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="weekday">weekday</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="etime">
+ <refnamediv>
+ <refname>etime</refname>
+ <refpurpose>Elapsed time</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>e = etime(t2,t1)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>t2</term>
+ <listitem>
+ <para>a vector with 6 or 10 values.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t1</term>
+ <listitem>
+ <para>a vector with 6 or 10 values.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>e</term>
+ <listitem>
+ <para>
+ number of seconds between <literal>t2</literal> and <literal>t1</literal>.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <variablelist>
+ <varlistentry>
+ <term>t1 and t2 with 10 values</term>
+ <listitem>
+ <para>
+ <literal>t2</literal> and <literal>t1</literal> must have format returned by <literal>getdate</literal>.
+ In this case, their third, fourth and fifth values are ignored.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t1 and t2 with 6 values</term>
+ <listitem>
+ <para>
+ <literal>t2</literal> and <literal>t1</literal> must have format: T = [Year Month Day Hour Minute Second]
+ with Second a number of seconds with milliseconds (e.g: 12.345).
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ <literal>t2</literal> and <literal>t1</literal> must have the same size.
+ </para>
+ <para>
+ <literal>t2</literal> et <literal>t1</literal> can be matrices with each line containing a format described above (all lines having same format).
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+t1=[2004 06 10 17 00 12.345]
+t2=[2004 06 10 17 01 13.965]
+E1=etime(t2,t1)
+t1=[2004 06 24 162 5 10 17 00 12 345]
+t2=[2004 06 24 162 5 10 17 01 13 965]
+E2=etime(t2,t1)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="getdate">
+ <refnamediv>
+ <refname>getdate</refname>
+ <refpurpose>get date and time information</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>dt=getdate()
+ x=getdate("s")
+ dt=getdate(x)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt</term>
+ <listitem>
+ <para>an integer vector with 10 entries (see below)</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>x</term>
+ <listitem>
+ <para>an integer containing a date coded in second from 1 Jan 1970</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt=getdate()</term>
+ <listitem>
+ <para> returns the current date in format given below:</para>
+ <variablelist>
+ <varlistentry>
+ <term>dt(1)</term>
+ <listitem>
+ <para>The year as a number (with the century) between 0000 and 9999.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(2)</term>
+ <listitem>
+ <para>The month of the year as a number between 01 and 12.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(3)</term>
+ <listitem>
+ <para>The ISO 8601 week number as a number between 01 and 53.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(4)</term>
+ <listitem>
+ <para>The Julian day of the year as a number between 001 and 366.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(5)</term>
+ <listitem>
+ <para>Specifies the weekday as a decimal number [1,7], with 1 representing Sunday.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(6)</term>
+ <listitem>
+ <para>The day of the month as a number between 01 and 31.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(7)</term>
+ <listitem>
+ <para>The hour of the day is output as a number between 00 and 23.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(8)</term>
+ <listitem>
+ <para>The minute is output as a number between 00 and 59.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(9)</term>
+ <listitem>
+ <para>The second is output as a number between 00 and 59.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(10)</term>
+ <listitem>
+ <para>The millisecond is output as a number between 000 and 999.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>x=getdate("s")</term>
+ <listitem>
+ <para> returns a scalar with the number of seconds since Jan 1, 1970, 00:00 UTC (Unix Time Convention)</para>
+ <para>
+ Please note that the return value contains the <ulink url="http://en.wikipedia.org/wiki/Leap_second">leap seconds</ulink>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt=getdate(x)</term>
+ <listitem>
+ <para> 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.
+ </para>
+ <para>
+ <literal>getdate(0)</literal> 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.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+w=getdate()
+mprintf("Year:%d,Month:%d,Day:%d",w(1),w(2),w(6));
+
+x=getdate("s")
+getdate(x)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="date">date</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="now">
+ <refnamediv>
+ <refname>now</refname>
+ <refpurpose>Return current date under the form of a Unix hour (timestamp)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>t = now()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ t = now() returns date and time as a serial date number. (See <link linkend="datenum">datenum</link>)
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+realtimeinit(1);
+realtime(0);
+t1 = now()
+datevec(t1)
+realtime(10);
+t1 = now()
+datevec(t1)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="clock">clock</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="realtime">
+ <refnamediv xml:id="realtimeinit">
+ <refname>realtimeinit</refname>
+ <refpurpose>set time unit</refpurpose>
+ </refnamediv>
+ <refnamediv>
+ <refname>realtime</refname>
+ <refpurpose>set dates origin or waits until date</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>realtimeinit(time_unit)
+ realtime(t)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>time_unit</term>
+ <listitem>
+ <para>
+ a real number. The number of seconds associated to the <literal>realtime</literal> argument
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t</term>
+ <listitem>
+ <para>a real number. A date</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para> These two functions can be used to handle real time into Scilab.</para>
+ <para>
+ <literal>realtimeinit(time_unit)</literal> defines the time unit
+ associated to the <literal>realtime</literal> argument <literal>t</literal>
+ </para>
+ <para>
+ first call to <literal>realtime(t0)</literal> sets current date to
+ (<literal>t0</literal>).
+ subsequent calls to <literal>realtime(t)</literal> wait till date <literal>t</literal> is
+ reached.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+realtimeinit(1/2);//sets time unit to half a second
+realtime(0);//sets current date to 0
+for k=1:10
+ realtime(k);
+ mprintf('current time is '+string(k/2)+'sec .\r\n');
+end
+
+//next instruction outputs a dot each 2 seconds
+realtimeinit(2);
+realtime(0);
+for k=1:10
+ realtime(k);
+ mprintf('.\r\n');
+end
+
+realtimeinit(1);
+realtime(0);
+dt=getdate('s');
+realtime(10);
+getdate('s')-dt
+ ]]></programlisting>
+ </refsection>
+ <programlisting role="example"><![CDATA[
+realtimeinit(1);
+realtime(0);
+t1 = now()
+datevec(t1)
+realtime(10);
+t1 = now()
+datevec(t1)
+ ]]></programlisting>
+
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="sleep">
+ <refnamediv>
+ <refname>sleep</refname>
+ <refpurpose>suspend Scilab</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>sleep(milliseconds)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>sleep</literal> : 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.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+tic;sleep(6000);toc
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="xpause">xpause</link>
+ </member>
+ <member>
+ <link linkend="pause">pause</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="tic">
+ <refnamediv>
+ <refname>tic</refname>
+ <refpurpose>start a stopwatch timer</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>tic()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ The sequence of commands <literal>tic(); operation; toc();</literal> prints the number of seconds required for the operation.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+tic();
+realtimeinit(1);
+realtime(0);
+realtime(10);
+toc();
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="timer" xml:lang="en">
+ <refnamediv>
+ <refname>timer</refname>
+ <refpurpose>cpu time</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>timer()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>Returns the CPU time since the preceding call to
+ <literal>timer()</literal>.
+ </para>
+ <para>timer has a time precision of 100 nanoseconds.</para>
+ <para>
+ <note>
+ NOTE: CPU time is the number of processor cycles used for a
+ computation. This is not at all equivalent to real-world time.
+ </note>
+ </para>
+ <para>CPU time can be used to compare CPU usage between different programs
+ or functions , irrespective of background processes that might slow down
+ the computer.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+timer();A=rand(100,100);timer()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="toc">
+ <refnamediv>
+ <refname>toc</refname>
+ <refpurpose>Read the stopwatch timer</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>toc()
+ t = toc()
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>t</term>
+ <listitem>
+ <para>
+ number of seconds since last call to <literal>tic()</literal> (Precision in order of millisecond).
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ The sequence of commands <literal>tic(); operation; toc();</literal> prints the number of seconds required for the operation.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+tic();
+realtimeinit(1);
+realtime(0);
+realtime(10);
+toc();
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="weekday">
+ <refnamediv>
+ <refname>weekday</refname>
+ <refpurpose>Return day of week</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>[N,S] = weekday(D)
+ [N,S] = weekday(D, form)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>[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.</para>
+ <para>[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.</para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+today = datenum();
+[N,S] = weekday(today)
+[N,S] = weekday(today,'short')
+[N,S] = weekday(today,'long')
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="weekday">weekday</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="calendar">
+ <refnamediv>
+ <refname>calendar</refname>
+ <refpurpose>Calendrier</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>c = calendar()
+ c = calendar(y,m)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>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).</para>
+ <para>c = calendar(y,m), ou y et sont des entiers, retourne le calendrier pour le mois et l'annee specifie.</para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+calendar()
+calendar(1973,8)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="date">
+ <refnamediv>
+ <refname>date</refname>
+ <refpurpose>date courante sous forme d'une chaîne de caractères</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>dt=date()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Paramètres</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt</term>
+ <listitem>
+ <para>chaîne de caractères</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>dt=date() renvoie une chaîne de caractères contenant la date au format jj-mmm-aaaaa.</para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+date()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="datenum">
+ <refnamediv>
+ <refname>datenum</refname>
+ <refpurpose>Convertie une date en un nombre</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>N = datenum()
+ N = datenum(DT)
+ N = datenum(Y, M, D)
+ N = datenum(Y, M, D, H, MI, S)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ 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.
+ </para>
+ <para>
+ N = datenum() retourne le nombre correspondant a la date courante.
+ </para>
+ <para>
+ 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).
+ </para>
+ <para>
+ 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.
+ </para>
+ <para>
+ 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.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+// N = datenum()
+datenum()
+
+// N = datenum(DT)
+A = [ 0 1 1 0 0 0 ; 2005 2 8 21 37 30 ]
+datenum(A)
+
+// N = datenum(Y, M, D)
+Annees = [0; 1973; 2006]
+Mois = [1; 8; 2]
+Jours = [1; 4; 8]
+datenum(Annees,Mois,Jours)
+
+Annees = [0 0 0 ; 0 0 0]
+Mois = [1 1 1 ; 1 1 1]
+Jours = [1 2 3 ; 4 5 6]
+datenum(Annees,Mois,Jours)
+
+// N = datenum(Y, M, D, H, MI, S)
+
+Annees = grand(5,10,'uin',0,2006)
+Mois = grand(5,10,'uin',1,12)
+Jours = grand(5,10,'uin',1,28)
+Heures = grand(5,10,'uin',0,23)
+Minutes = grand(5,10,'uin',0,59)
+Secondes = grand(5,10,'uin',0,59)
+datenum(Annees,Mois,Jours,Heures,Minutes,Secondes)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="calendar">calendar</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="datevec">
+ <refnamediv>
+ <refname>datevec</refname>
+ <refpurpose>Reconstruction d'un vecteur contenant une Date</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>V=datevec(DT)
+ [Y,M,D,H,MI,S]=datevec(DT)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ 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.
+ </para>
+ <para>
+ [Y, M, D, H, MI, S] = datevec(DT) retourne les composants de la date dans 6 variables.
+ DT peut être une matrice.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+// Premier exemple
+datevec(720840)
+
+// Second exemple
+datevec(datenum())
+
+// Troisième exemple (Avec des valeurs entières)
+A = grand(10,12,'uin',1,1000000)
+datevec(A)
+
+// Quatrième exemple (Avec des valeurs réelles)
+A = grand(10,12,'unf',1,1000000)
+datevec(A)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="calendar">calendar</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="eomday">
+ <refnamediv>
+ <refname>eomday</refname>
+ <refpurpose>Retourne le dernier jour d'un mois</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>E = eomday(Y, M)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Paramètres</title>
+ <variablelist>
+ <varlistentry>
+ <term>Y</term>
+ <listitem>
+ <para>
+ Vecteur ou matrice contenant des valeurs entières.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>M</term>
+ <listitem>
+ <para>
+ Vecteur ou matrice contenant des valeurs entières.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>E</term>
+ <listitem>
+ <para>
+ Vecteur ou matrice contenant des valeurs entières.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>E= eomday(Y, M)</literal> retourne le dernier jour du mois et de l'année passée en paramètre.
+ </para>
+ <para>
+ <varname>Y</varname> et <varname>M</varname> doivent avoir les mêmes dimensions.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+eomday(2006,3);
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="weekday">weekday</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="etime">
+ <refnamediv>
+ <refname>etime</refname>
+ <refpurpose>Temps écoulé</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>e = etime(t2,t1)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Paramètres</title>
+ <variablelist>
+ <varlistentry>
+ <term>t2</term>
+ <listitem>
+ <para>un vecteur de 6 ou 10 valeurs.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t1</term>
+ <listitem>
+ <para>un vecteur de 6 ou 10 valeurs.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>e</term>
+ <listitem>
+ <para>
+ nombre de secondes entre <literal>t2</literal> et <literal>t1</literal>.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <variablelist>
+ <varlistentry>
+ <term>t1 et t2 contenant 10 valeurs</term>
+ <listitem>
+ <para>
+ : <literal>t2</literal> et <literal>t1</literal> doivent avoir le format retourné par <literal>getdate</literal>.
+ Dans ce cas, leurs troisièmes, quatrièmes et cinquièmes valeurs sont ignorées.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t1 et t2 contenant 6 valeurs</term>
+ <listitem>
+ <para>
+ : <literal>t2</literal> et <literal>t1</literal> doivent avoir le format : T = [Year Month Day Hour Minute Second]
+ avec Second un nombre de secondes et de millisecondes (e.g: 12.345).
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ <literal>t2</literal> et <literal>t1</literal> doivent être de même taille.
+ </para>
+ <para>
+ <literal>t2</literal> et <literal>t1</literal> peuvent être des matrices dont chaque ligne contient un format précisé ci-dessus (toutes les lignes du même format).
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+t1=[2004 06 10 17 00 12.345]
+t2=[2004 06 10 17 01 13.965]
+E1=etime(t2,t1)
+t1=[2004 06 24 162 5 10 17 00 12 345]
+t2=[2004 06 24 162 5 10 17 01 13 965]
+E2=etime(t2,t1)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="getdate">
+ <refnamediv>
+ <refname>getdate</refname>
+ <refpurpose>renvoie la date et l'heure</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>dt=getdate()
+ x=getdate("s")
+ dt=getdate(x)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Paramètres</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt</term>
+ <listitem>
+ <para>un vecteur entier à 10 composantes (voir plus bas)</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>x</term>
+ <listitem>
+ <para>un entier contenant la date en secondes écoulées depuis le 1er Janvier 1970</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt=getdate()</term>
+ <listitem>
+ <para> renvoie la date courante au format expliqué ci-dessous :</para>
+ <variablelist>
+ <varlistentry>
+ <term>dt(1)</term>
+ <listitem>
+ <para>l'année (entier compris entre 0000 et 9999).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(2)</term>
+ <listitem>
+ <para>le mois (entier compris entre 01 et 12).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(3)</term>
+ <listitem>
+ <para>le numéro de semaine à la norme ISO 8601 (entier compris entre 01 et 53).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(4)</term>
+ <listitem>
+ <para>le jour du calendrier Julien (entier compris entre 000 et 366).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(5)</term>
+ <listitem>
+ <para>le jour de la semaine (entier compris entre 1 (dimanche) et 7).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(6)</term>
+ <listitem>
+ <para>le jour dans le mois (entier compris entre 01 et 31).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(7)</term>
+ <listitem>
+ <para>l'heure du jour (entier compris entre 00 et 23).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(8)</term>
+ <listitem>
+ <para>les minutes (entier compris entre 00 et 59).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(9)</term>
+ <listitem>
+ <para>les secondes (entier compris entre 00 et 59).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(10)</term>
+ <listitem>
+ <para>les millisecondes (entier compris entre 000 et 999).</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>x = getdate("s")</term>
+ <listitem>
+ <para> renvoie un entier contenant le nombre de secondes écoulées depuis le 1er Janvier 1970, 00:00 UTC (Unix Time Convention).</para>
+ <para>
+ L'entier retourné prend en compte <ulink url="http://fr.wikipedia.org/wiki/Seconde_intercalaire">seconde intercalaire</ulink>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt = getdate(x)</term>
+ <listitem>
+ <para> 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.
+ </para>
+ <para>
+ <literal>getdate(0)</literal> 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.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+w=getdate()
+mprintf("Annee:%d,mois:%d,jour:%d",w(1),w(2),w(6));
+
+x=getdate("s")
+getdate(x)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="date">date</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="now">
+ <refnamediv>
+ <refname>now</refname>
+ <refpurpose>retourne la date courante sous forme d'une heure Unix (timestamp)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>t = now()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ t = now() la date et l'heure courante en un nombre lui correspondant (Voir <link linkend="datenum">datenum</link>)
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+realtimeinit(1);
+realtime(0);
+t1 = now()
+datevec(t1)
+realtime(10);
+t1 = now()
+datevec(t1)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="now">now</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="sleep">
+ <refnamediv>
+ <refname>sleep</refname>
+ <refpurpose>suspend Scilab</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>sleep(milliseconds)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>sleep</literal>Sleep suspend Scilab durant la durée specifiée en
+ millisecondes.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+tic;sleep(6000);toc
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="xpause">xpause</link>
+ </member>
+ <member>
+ <link linkend="pause">pause</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="tic">
+ <refnamediv>
+ <refname>tic</refname>
+ <refpurpose>Démarre le chronomètre</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>tic()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ La séquence de commandes <literal>tic(); opération; toc();</literal> affiche le nombre de secondes nécessaire pour opération.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+tic();
+realtimeinit(1);
+realtime(0);
+realtime(10);
+toc();
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="timer" xml:lang="fr">
+ <refnamediv>
+ <refname>timer</refname>
+ <refpurpose>temps CPU consommé</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>timer()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>Renvoie le temps CPU consommé par Scilab depuis le dernier appel à
+ <literal>timer()</literal>.
+ </para>
+ <para>timer a une precision de 100 nanosecondes.</para>
+ <para>
+ <note>
+ Remarque : Le temps CPU est le nombre de cycles processeur utilisé
+ pour l'execution.
+ </note>
+ </para>
+ <para>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.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+timer();A=rand(100,100);timer()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="toc">
+ <refnamediv>
+ <refname>toc</refname>
+ <refpurpose>Lit le chronomètre</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>toc()
+ t = toc()
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Paramètres</title>
+ <variablelist>
+ <varlistentry>
+ <term>t</term>
+ <listitem>
+ <para>
+ nombre de secondes depuis le dernier appel à <literal>tic()</literal> (Précision de l'ordre de la milliseconde).
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ La séquence de commandes <literal>tic(); opération; toc();</literal> affiche le nombre de secondes nécessaire pour opération.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+tic();
+realtimeinit(1);
+realtime(0);
+realtime(10);
+toc();
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="weekday">
+ <refnamediv>
+ <refname>weekday</refname>
+ <refpurpose>Retourne le jour de la semaine</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>[N,S] = weekday(D)
+ [N,S] = weekday(D, form)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ [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 <link linkend="datenum">datenum</link>). Le paramètre passé en entrée peut être une matrice de "serial date number"
+ </para>
+ <para>[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.</para>
+ </refsection>
+ <refsection>
+ <title>Exemples</title>
+ <programlisting role="example"><![CDATA[
+today = datenum();
+[N,S] = weekday(today)
+[N,S] = weekday(today,'short')
+[N,S] = weekday(today,'long')
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="weekday">weekday</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="calendar">
+ <refnamediv>
+ <refname>calendar</refname>
+ <refpurpose>カレンダー</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>c=calendar()
+ c = calendar(y,m)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>c = calendar は現在の月に関するカレンダーを含むリストを返します.
+ カレンダーは日曜日から土曜日までとなります.
+ </para>
+ <para>c = calendar(y,m), ただし, y および m は整数で, 指定した年の
+ 指定した月のカレンダーを返します.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+calendar()
+calendar(1973,8)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="clock">
+ <refnamediv>
+ <refname>clock</refname>
+ <refpurpose>現在の時間を日付ベクトルとして返す</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>c = clock</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>c = clock は,現在の10進形式の日付と時間を有する要素数6の日付ベクトル
+ を返します:
+ </para>
+ <para>c = [年 月 日 時間 分 秒]</para>
+ <para>最初の5つの要素は整数です.2番目の要素は小数点以下数桁まで正確です.</para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+clock
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="date">
+ <refnamediv>
+ <refname>date</refname>
+ <refpurpose>現在の日付を日付文字列として得る</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>dt=date()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>パラメータ</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt</term>
+ <listitem>
+ <para>文字列</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>説明</title>
+ <para>dt=date() は, dd-mmm-yyyy 形式の日付を有する文字列を返します.</para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+date()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="datenum">
+ <refnamediv>
+ <refname>datenum</refname>
+ <refpurpose>シリアル日付番号に変換する</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>N = datenum()
+ N = datenum(DT)
+ N = datenum(Y, M, D)
+ N = datenum(Y, M, D, H, MI, S)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>
+ datenum 関数は(datevecにより定義された)日付ベクトルをシリアル日付番号に変換します.
+ 日付番号は、ある基準日から経過した日数です.
+ デフォルトで,このシリアル日付の1は 1-Jan-0000 に対応します.
+ </para>
+ <para>
+ N = datenum() は現在の日付に対応するシリアル日付番号を返します.
+ </para>
+ <para>
+ N = datenum(DT) は,一つまたは複数のベクトルをシリアル日付番号Nに変換します.
+ DTは,m個の完全な日付ベクトルからなるm行x6列,または部分的な日付ベクトルからなるm行x3列の行列
+ です.
+ </para>
+ <para>
+ N = datenum(Y, M, D) はY,M,D(年,月,日)配列に対応するシリアル日付番号を返します.
+ Y,M,Dは同じ大きさの配列(またはスカラー)とする必要があります.
+ </para>
+ <para>
+ N = datenum(Y, M, D, H, MI, S) は配列 Y, M, D, H, MI, および S (年,月,日,時間,分,
+ および秒)に対応するシリアル日付番号を返します.
+ Y, M, D, H, MI, および Sは同じ大きさの配列(またはスカラー)とする必要があります.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+// N = datenum()
+datenum()
+// N = datenum(DT)
+A = [ 0 1 1 0 0 0 ; 2005 2 8 21 37 30 ]
+datenum(A)
+// N = datenum(Y, M, D)
+Years = [0; 1973; 2006]
+Months = [1; 8; 2]
+Days = [1; 4; 8]
+datenum(Years,Months,Days)
+Years = [0 0 0 ; 0 0 0]
+Months = [1 1 1 ; 1 1 1]
+Days = [1 2 3 ; 4 5 6]
+datenum(Years,Months,Days)
+// N = datenum(Y, M, D, H, MI, S)
+Years = grand(5,10,'uin',0,2006)
+Months = grand(5,10,'uin',1,12)
+Days = grand(5,10,'uin',1,28)
+Hours = grand(5,10,'uin',0,23)
+Minutes = grand(5,10,'uin',0,59)
+Seconds = grand(5,10,'uin',0,59)
+datenum(Years,Months,Days,Hours,Minutes,Seconds)
+ ]]></programlisting>
+ </refsection>
+ <refsection>
+ <title>参考</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="calendar">calendar</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="datevec">
+ <refnamediv>
+ <refname>datevec</refname>
+ <refpurpose>日付の要素</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>V=datevec(DT)
+ [Y,M,D,H,MI,S]=datevec(DT)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>
+ V = datevec(DT) は,(datenumにより定義された)日数を
+ 要素[year, month, day, hour, minute, second]を有する日付ベクトル V
+ に変換します.
+ 最初の5個の要素は整数です.
+ DT は配列とすることができます.
+ </para>
+ <para>
+ [Y, M, D, H, MI, S] = datevec(DT) は日付ベクトルの
+ 要素を別々の配列に返します.
+ DT は配列とすることができます.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+// 最初の例
+datevec(720840)
+// 2番目の例
+datevec(datenum())
+// 3番目の例 (整数値を指定)
+A = grand(10,12,'uin',1,1000000)
+datevec(A)
+// 4番目の例 (実数値を指定)
+A = grand(10,12,'unf',1,1000000)
+datevec(A)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="calendar">calendar</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="eomday">
+ <refnamediv>
+ <refname>eomday</refname>
+ <refpurpose>月の最後の日を返す</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>E = eomday(Y, M)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>E = eomday(Y, M) はそれぞれ配列 Y および Mで指定した年および月の
+ 最後の日を返します.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+eomday(2006,3);
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="weekday">weekday</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="etime">
+ <refnamediv>
+ <refname>etime</refname>
+ <refpurpose>経過時間</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>e = etime(t2,t1)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>パラメータ</title>
+ <variablelist>
+ <varlistentry>
+ <term>t2</term>
+ <listitem>
+ <para>6または10個の値を有するベクトル.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t1</term>
+ <listitem>
+ <para>6または10個の値を有するベクトル.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>e</term>
+ <listitem>
+ <para>
+ <literal>t2</literal> および <literal>t1</literal>の間の秒数.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>説明</title>
+ <variablelist>
+ <varlistentry>
+ <term>t1 および t2 が10個の値を有する場合</term>
+ <listitem>
+ <para>
+ <literal>t2</literal> および <literal>t1</literal> は,
+ <literal>getdate</literal>により返された形式である必要があります.
+ この場合,その3番目,4番目および5番目の値は無視されます.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t1 および t2 が6個の値を有する場合</term>
+ <listitem>
+ <para>
+ <literal>t2</literal> および <literal>t1</literal> は,
+ 以下の形式である必要があります: T = [年 月 日 時間 分 秒]
+ ただし,秒はミリ秒単位(例: 12.345)です.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ <literal>t2</literal> および <literal>t1</literal> は,
+ 同じ大きさである必要があります..
+ </para>
+ <para>
+ <literal>t2</literal> および <literal>t1</literal> は,
+ 各行に上記の形式のデータを有する行列とすることができます
+ (全ての行は同じ形式とします).
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+t1=[2004 06 10 17 00 12.345]
+t2=[2004 06 10 17 01 13.965]
+E1=etime(t2,t1)
+t1=[2004 06 24 162 5 10 17 00 12 345]
+t2=[2004 06 24 162 5 10 17 01 13 965]
+E2=etime(t2,t1)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="getdate">
+ <refnamediv>
+ <refname>getdate</refname>
+ <refpurpose>日付と時間に関する情報を取得</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>dt=getdate()
+ x=getdate("s")
+ dt=getdate(x)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>パラメータ</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt</term>
+ <listitem>
+ <para>10個の要素を有する整数ベクトル (下記参照)</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>x</term>
+ <listitem>
+ <para>1970年1月1日からの経過秒数で表された日付を有する整数</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>説明</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt=getdate()</term>
+ <listitem>
+ <para>現在の日付を以下の形式で返します:</para>
+ <variablelist>
+ <varlistentry>
+ <term>dt(1)</term>
+ <listitem>
+ <para> 0000 と 9999の間の数で表された(世紀を含む)年.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(2)</term>
+ <listitem>
+ <para>01 と 12の間の数で表された月.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(3)</term>
+ <listitem>
+ <para>01 と 53の間の数で表されたISO 8601形式の週番号.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(4)</term>
+ <listitem>
+ <para>
+ 001 と 366の間の数で表されたユリウス日
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(5)</term>
+ <listitem>
+ <para>
+ [1,7]の範囲の10進数で表された曜日, 1は日曜日に対応.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(6)</term>
+ <listitem>
+ <para>01 と 31の間の数で表された月内の日数.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(7)</term>
+ <listitem>
+ <para>
+ 00 と 23の間の数で表された1日内の時間.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(8)</term>
+ <listitem>
+ <para>
+ 出力は00と59の間の数で表された分.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(9)</term>
+ <listitem>
+ <para>
+ 出力は00と59の間の数で表された秒.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(10)</term>
+ <listitem>
+ <para>
+ 出力は000と999の間の数で表されたミリ秒.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>x=getdate("s")</term>
+ <listitem>
+ <para>
+ 1970年1月1日, 00:00 UTC (Unix Time Convention)からの経過
+ 秒数をスカラーとして返します.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt=getdate(x)</term>
+ <listitem>
+ <para>
+ x (1970年1月1日, 00:00 UTC からの経過秒数)により指定した
+ 日付を上記の形式で成形します.
+ この場合, dt(10) は常に 0となります.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+w=getdate()
+mprintf("Year:%d,Month:%d,Day:%d",w(1),w(2),w(6));
+x=getdate("s")
+getdate(x)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="date">date</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="now">
+ <refnamediv>
+ <refname>now</refname>
+ <refpurpose>現在の日付と時間を返す</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>t = now()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>t = now() は,日数として日付と時間を返します.
+ (<link linkend="datenum">datenum</link>参照)
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+realtimeinit(1);
+realtime(0);
+t1 = now()
+datevec(t1)
+realtime(10);
+t1 = now()
+datevec(t1)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="clock">clock</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="realtime">
+ <refnamediv xml:id="realtimeinit">
+ <refname>realtimeinit</refname>
+ <refpurpose>時間の単位を設定</refpurpose>
+ </refnamediv>
+ <refnamediv>
+ <refname>realtime</refname>
+ <refpurpose>日付の原点を設定または指定日付まで待つ</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>realtimeinit(time_unit)
+ realtime(t)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>パラメータ</title>
+ <variablelist>
+ <varlistentry>
+ <term>time_unit</term>
+ <listitem>
+ <para>
+ 実数. <literal>realtime</literal> の引数に関連する秒数
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t</term>
+ <listitem>
+ <para>実数. 日付</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>説明</title>
+ <para>
+ これら2つの関数はScilabで実時間を処理する際に使用できます.
+ </para>
+ <para>
+ <literal>realtimeinit(time_unit)</literal> は,
+ <literal>realtime</literal> の引数 <literal>t</literal>に
+ 関する時間の単位を定義します.
+ </para>
+ <para>
+ <literal>realtime(t0)</literal>を最初にコールした際,
+ カレントの日付が<literal>t0</literal>に設定されます.
+ これ以降のコール<literal>realtime(t)</literal>では,
+ 日付<literal>t</literal>に達するまで待機します.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+realtimeinit(1/2);//時間の単位を 0.5秒に設定s
+realtime(0);// カレントの時刻を 0に設定
+for k=1:10
+ realtime(k);
+ mprintf('current time is '+string(k/2)+'sec .\r\n');
+end
+//次の命令では2秒毎にドットを出力
+realtimeinit(2);
+realtime(0);
+for k=1:10
+ realtime(k);
+ mprintf('.\r\n');
+end
+realtimeinit(1);
+realtime(0);
+dt=getdate('s');
+realtime(10);
+getdate('s')-dt
+ ]]></programlisting>
+ <programlisting role="example"><![CDATA[
+realtimeinit(1);
+realtime(0);
+t1 = now()
+datevec(t1)
+realtime(10);
+t1 = now()
+datevec(t1)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="sleep">
+ <refnamediv>
+ <refname>sleep</refname>
+ <refpurpose>Scilabを停止(サスペンド)する</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>sleep(milliseconds)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>
+ <literal>sleep</literal> :
+ 引数で指定したミリ秒の間処理を停止します.
+ 他のシステムの処理または
+ 呼び出し処理の時間により,実際に停止される時間は
+ 長くなる可能性があります.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+tic;sleep(6000);toc
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="xpause">xpause</link>
+ </member>
+ <member>
+ <link linkend="pause">pause</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="tic">
+ <refnamediv>
+ <refname>tic</refname>
+ <refpurpose>ストップウォッチタイマーを開始</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>tic()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>
+ 一連のコマンド <literal>tic(); 処理; toc();</literal> により,
+ 処理に要した秒数が出力されます.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+tic();
+realtimeinit(1);
+realtime(0);
+realtime(10);
+toc();
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="timer" xml:lang="ja">
+ <refnamediv>
+ <refname>timer</refname>
+ <refpurpose>CPU時間</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>timer()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>
+ <literal>timer()</literal>への前のコールからの経過時間を
+ CPU時間で返します.
+ </para>
+ <para>timer の時間精度は 100ナノ秒です.</para>
+ <para>注意: CPU 時間は,
+ 計算に使用されるプロセッサ周期数です.
+ これは,実時間と完全に等価なわけではありません.
+ </para>
+ <para>CPU時間は,
+ 計算機を遅くするような
+ バックグラウンド処理にかかわりなく,
+ 異なるプログラムまたは関数の間で要するCPU消費を
+ 比較する際に使用できます.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+timer();A=rand(100,100);timer()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="toc">
+ <refnamediv>
+ <refname>toc</refname>
+ <refpurpose>ストップウォッチタイマーを読む</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>toc()
+ t = toc()
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>パラメータ</title>
+ <variablelist>
+ <varlistentry>
+ <term>t</term>
+ <listitem>
+ <para>
+ <literal>tic()</literal>への最後のコール以降の経過秒数
+ (精度はミリ秒レベル).
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>説明</title>
+ <para>
+ 一連のコマンド <literal>tic(); 処理; toc();</literal> は,
+ 処理に要した秒数を出力します.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+tic();
+realtimeinit(1);
+realtime(0);
+realtime(10);
+toc();
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="weekday">
+ <refnamediv>
+ <refname>weekday</refname>
+ <refpurpose>曜日を返す</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>呼び出し手順</title>
+ <synopsis>[N,S] = weekday(D)
+ [N,S] = weekday(D, form)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>説明</title>
+ <para>[N,S] = weekday(D) は,
+ 日数 n または日付文字列Dで指定すると,
+ 数値(N) および文字列(S)形式で曜日を返します.
+ 入力引数 D は,日数の配列で複数の日を表すことができます.
+ </para>
+ <para>[N,S] = weekday(D, form) は,
+ 数値(N) および文字列(S)形式で曜日を返しますが,
+ S の内容は form 引数に依存します.
+ form が 'long'の場合, S には完全な曜日 (例: Thuesday)が含まれます.
+ form が 'short'の場合, S には短縮形 (例: Tue) が含まれます.
+ </para>
+ </refsection>
+ <refsection>
+ <title>例</title>
+ <programlisting role="example"><![CDATA[
+today = datenum();
+[N,S] = weekday(today)
+[N,S] = weekday(today,'short')
+[N,S] = weekday(today,'long')
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>参照</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ <member>
+ <link linkend="weekday">weekday</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="date" xml:lang="en">
+ <refnamediv>
+ <refname>date</refname>
+ <refpurpose>retorna string contendo a data corrente</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Seqncia de Chamamento</title>
+ <synopsis>dt=date()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Parmetros</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt</term>
+ <listitem>
+ <para>a string</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Descrio</title>
+ <para>dt=date() retorna um string contendo a data no formato
+ dd-mmm-yyyy.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemplos</title>
+ <programlisting role="example"><![CDATA[
+date()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Ver Tambm</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="etime" xml:lang="en">
+ <refnamediv>
+ <refname>etime</refname>
+ <refpurpose>tempo decorrido</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Seqncia de Chamamento</title>
+ <synopsis>e = etime(t2,t1)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Parmetros</title>
+ <variablelist>
+ <varlistentry>
+ <term>t2</term>
+ <listitem>
+ <para>um vetor com 6 ou 10 valores </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t1</term>
+ <listitem>
+ <para>um vetor com 6 ou 10 valores </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>e</term>
+ <listitem>
+ <para>
+ nmero de segundos entre <literal>t2</literal> e
+ <literal>t1</literal>.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Descrio</title>
+ <variablelist>
+ <varlistentry>
+ <term>t1 e t2 com 10 valores</term>
+ <listitem>
+ <para>
+ <literal>t2</literal> e <literal>t1</literal> devem ter o
+ mesmo formato retornado por <literal>getdate</literal>. Neste caso,
+ seus terceiro, quarto e quinto valores sero ignorados.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>t1 e t2 com 6 valores</term>
+ <listitem>
+ <para>
+ <literal>t2</literal> e <literal>t1</literal> devem ter o
+ mesmo formato: T = [Ano Ms Dia Hora Minuto Segundo] com Segundo o
+ nmero de segundos com milisegundos (ex.: 12.345).
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ <literal>t2</literal> e <literal>t1</literal> devem ter o mesmo
+ tamanho.
+ </para>
+ <para>
+ <literal>t2</literal> e <literal>t1</literal> podem ser matrizes com
+ cada linha contendo o formato descrito acima (todas as linhas tendo o
+ mesmo formato).
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemplos</title>
+ <programlisting role="example"><![CDATA[
+t1=[2004 06 10 17 00 12.345]
+t2=[2004 06 10 17 01 13.965]
+E1=etime(t2,t1)
+t1=[2004 06 24 162 5 10 17 00 12 345]
+t2=[2004 06 24 162 5 10 17 01 13 965]
+E2=etime(t2,t1)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Ver Tambm</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="getdate">getdate</link>
+ </member>
+ <member>
+ <link linkend="datenum">datenum</link>
+ </member>
+ <member>
+ <link linkend="datevec">datevec</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="getdate" xml:lang="en">
+ <refnamediv>
+ <refname>getdate</refname>
+ <refpurpose>retorna informao sobre data e hora</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Seqncia de Chamamento</title>
+ <synopsis>dt=getdate()
+ x=getdate("s")
+ dt=getdate(x)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Parmetros</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt</term>
+ <listitem>
+ <para>um vetor de inteiros com 10 entradas (ver abaixo) </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>x</term>
+ <listitem>
+ <para>um inteiro contendo uma data codificada em segundos a partir
+ de 01/01/1970
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Descrio</title>
+ <variablelist>
+ <varlistentry>
+ <term>dt=getdate()</term>
+ <listitem>
+ <para>retorna a dada corrente no formato dado abaixo:</para>
+ <variablelist>
+ <varlistentry>
+ <term>dt(1)</term>
+ <listitem>
+ <para>o ano como um nmero (com o sculo) entre 0000 e 9999.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(2)</term>
+ <listitem>
+ <para>o ms do ano como um nmero entre 01 e 12. </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(3)</term>
+ <listitem>
+ <para>o nmero da semana ISO 8601 como um nmero entre 01 e
+ 53.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(4)</term>
+ <listitem>
+ <para>o dia Juliano do ano como um nmero entre 001 e 366.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(5)</term>
+ <listitem>
+ <para>especifica o dia da semana como um nmero decimal entre
+ 1 e 7 , com 1 representando domingo.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(6)</term>
+ <listitem>
+ <para>o dia do ms como um nmero entre 01 e 31. </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(7)</term>
+ <listitem>
+ <para>a hora do dia como um nmero entre 00 e 23. </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(8)</term>
+ <listitem>
+ <para>o minuto da hora como um nmero entre 00 e 59. </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(9)</term>
+ <listitem>
+ <para>o segundo do minuto como um nmero entre 00 e 59.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt(10)</term>
+ <listitem>
+ <para>o milissegundo do segundo como um nmero entre 000 e
+ 999.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>x=getdate("s")</term>
+ <listitem>
+ <para>retorna um escalar com o nmero de segundos desde 01/01/1970,
+ 00:00 UTC (Conveno de Tempo Unix)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>dt=getdate(x)</term>
+ <listitem>
+ <para>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.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Exemplos</title>
+ <programlisting role="example"><![CDATA[
+w=getdate()
+mprintf("Ano:%d,Ms:%d,Dia:%d",w(1),w(2),w(6));
+
+x=getdate("s")
+getdate(x)
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Ver Tambm</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="date">date</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tic" xml:lang="en">
+ <refnamediv>
+ <refname>tic</refname>
+ <refpurpose>inicia um cronmetro</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Seqncia de Chamamento</title>
+ <synopsis>tic()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Descrio</title>
+ <para>
+ A seqncia de comando <literal>tic(); operation; toc();</literal>
+ imprime o nmero de segundos requeridos para a operao.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemplos</title>
+ <programlisting role="example"><![CDATA[
+tic();
+realtimeinit(1);
+realtime(0);
+realtime(10);
+toc();
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Ver Tambm</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="toc">toc</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>Autores</title>
+ <simplelist type="vert">
+ <member>V.C.</member>
+ <member>A.C.</member>
+ </simplelist>
+ </refsection>
+</refentry>
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 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="toc" xml:lang="en">
+ <refnamediv>
+ <refname>toc</refname>
+ <refpurpose>l o cronmetro</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Seqncia de Chamamento</title>
+ <synopsis>toc()
+ t = toc()
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Parmetros</title>
+ <variablelist>
+ <varlistentry>
+ <term>t</term>
+ <listitem>
+ <para>nmero de segundos desde a ltima chamada a
+ <literal>tic()</literal> (preciso em ordem de milissegundos)
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Descrio</title>
+ <para>
+ A seqncia de comandos <literal>tic(); operation; toc();</literal>
+ imprime o nmero de segundos requeridos para a operao.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Exemplos</title>
+ <programlisting role="example"><![CDATA[
+tic();
+realtimeinit(1);
+realtime(0);
+realtime(10);
+toc();
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Ver Tambm</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tic">tic</link>
+ </member>
+ <member>
+ <link linkend="timer">timer</link>
+ </member>
+ <member>
+ <link linkend="etime">etime</link>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>Autores</title>
+ <simplelist type="vert">
+ <member>V.C.</member>
+ <member>A.C.</member>
+ </simplelist>
+ </refsection>
+</refentry>
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);
+
diff --git a/modules/time/includes/dynlib_time.h b/modules/time/includes/dynlib_time.h
new file mode 100755
index 000000000..b0cb43c84
--- /dev/null
+++ b/modules/time/includes/dynlib_time.h
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+*
+* 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
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#ifndef __DYNLIB_TIME_H__
+#define __DYNLIB_TIME_H__
+
+#ifdef _MSC_VER
+#ifdef TIME_EXPORTS
+#define TIME_IMPEXP __declspec(dllexport)
+#else
+#define TIME_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define TIME_IMPEXP
+#endif
+
+#endif /* __DYNLIB_TIME_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/includes/gw_time.h b/modules/time/includes/gw_time.h
new file mode 100755
index 000000000..eb9d540bf
--- /dev/null
+++ b/modules/time/includes/gw_time.h
@@ -0,0 +1,32 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * 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
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __GW_TIME_H__
+#define __GW_TIME_H__
+/*--------------------------------------------------------------------------*/
+#include "dynlib_time.h"
+/*--------------------------------------------------------------------------*/
+TIME_IMPEXP int gw_time(void);
+/*--------------------------------------------------------------------------*/
+/* interface for the previous function Table */
+/*--------------------------------------------------------------------------*/
+TIME_IMPEXP int sci_getdate(char *fname, unsigned long fname_len);
+TIME_IMPEXP int sci_calendar(char *fname, unsigned long fname_len);
+TIME_IMPEXP int sci_timer(char *fname, unsigned long fname_len);
+TIME_IMPEXP int sci_sleep(char *fname, unsigned long fname_len);
+TIME_IMPEXP int sci_xpause(char *fname, unsigned long fname_len);
+TIME_IMPEXP int sci_realtimeinit(char *fname, unsigned long fname_len);
+TIME_IMPEXP int sci_realtime(char *fname, unsigned long fname_len);
+/*--------------------------------------------------------------------------*/
+#endif /* __GW_TIME_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/includes/realtime.h b/modules/time/includes/realtime.h
new file mode 100755
index 000000000..ea6c7cd24
--- /dev/null
+++ b/modules/time/includes/realtime.h
@@ -0,0 +1,38 @@
+/*--------------------------------------------------------------------------*/
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Sylvestre LEDRU
+ *
+ * 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
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#ifndef __REALTIME_H__
+#define __REALTIME_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "machine.h"
+
+ /**
+ * @TODO add comment
+ */
+ int C2F(realtimeinit)(double *t, double *scale);
+
+ /**
+ * @TODO add comment
+ */
+ int C2F(realtime)(double *t);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __REALTIME_H__ */
+/*--------------------------------------------------------------------------*/ \ No newline at end of file
diff --git a/modules/time/includes/timer.h b/modules/time/includes/timer.h
new file mode 100755
index 000000000..4c651b67d
--- /dev/null
+++ b/modules/time/includes/timer.h
@@ -0,0 +1,37 @@
+/*--------------------------------------------------------------------------*/
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) INRIA
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+*
+* 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
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#ifndef __TIMER_H__
+#define __TIMER_H__
+
+#include "machine.h" /* C2F */
+
+/**
+* Returns the CPU time since the preceding call to "C2F(timer)"
+* used to call from fortran
+* uses scilab_timer
+* @param etime
+* @return 0
+*/
+int C2F(timer)(double *etime);
+
+/**
+* Returns the CPU time since the preceding call to "scilab_timer"
+* @return elapsed time
+*/
+double scilab_timer(void);
+
+#endif /* __TIMER_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/libscitime-algo.la b/modules/time/libscitime-algo.la
new file mode 100755
index 000000000..9b8ca9743
--- /dev/null
+++ b/modules/time/libscitime-algo.la
@@ -0,0 +1,41 @@
+# libscitime-algo.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname=''
+
+# Names of this library.
+library_names=''
+
+# The name of the static archive.
+old_library='libscitime-algo.a'
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=''
+
+# Libraries that this one depends upon.
+dependency_libs=' -lpthread -ldl -lcurses -lm'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscitime-algo.
+current=
+age=
+revision=
+
+# Is this an already installed library?
+installed=no
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir=''
diff --git a/modules/time/libscitime.la b/modules/time/libscitime.la
new file mode 100755
index 000000000..d6c2ad6f7
--- /dev/null
+++ b/modules/time/libscitime.la
@@ -0,0 +1,41 @@
+# libscitime.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname=''
+
+# Names of this library.
+library_names=''
+
+# The name of the static archive.
+old_library='libscitime.a'
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=''
+
+# Libraries that this one depends upon.
+dependency_libs=' -lpthread -ldl -lcurses -lm'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscitime.
+current=
+age=
+revision=
+
+# Is this an already installed library?
+installed=no
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir=''
diff --git a/modules/time/license.txt b/modules/time/license.txt
new file mode 100755
index 000000000..933635069
--- /dev/null
+++ b/modules/time/license.txt
@@ -0,0 +1,10 @@
+Copyright:
+Copyright (c) 2008 - DIGITEO
+Copyright (c) 1989-2008 - INRIA
+
+License:
+This module must be used under the terms of the CeCILL.
+This module 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
diff --git a/modules/time/locales/ca_ES.po b/modules/time/locales/ca_ES.po
new file mode 100755
index 000000000..3b6819f39
--- /dev/null
+++ b/modules/time/locales/ca_ES.po
@@ -0,0 +1,278 @@
+# Catalan translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-04-19 18:07+0000\n"
+"Last-Translator: Marc Coll Carrillo <Unknown>\n"
+"Language-Team: Catalan <ca@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: ca\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d té un valor incorrecte: Ha d'estar entre %d i "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr ""
+"%s: Els arguments d'entrada són d'un tipus incorrecte: Han de ser escalars.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: Hi ha hagut un error.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: error de reserva de memòria.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: no es pot llegir el paràmetre d'entrada #%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: no hi ha més memòria.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr "%s: valor incorrecte del paràmetre d'entrada #%d: s'esperava '%s'.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: el paràmetre d'entrada #%d té una mida incorrecta: s'esperava una "
+"cadena.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d té un valor incorrecte: Ha de ser > %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+"%s: el paràmetre d'entrada #%d té un valor incorrecte: s'esperava un nombre "
+"real.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d és d'un tipus incorrecte: Ha de ser un enter o "
+"'%s'.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d té valors incorrectes: Han de ser nombres "
+"enters no-negatius.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr ""
+"%s: Els arguments d'entrada són d'un tipus incorrecte: Han de ser escalars.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+"%s: L'argument d'entrada té un valor incorrecte: Ha de ser entre %d i %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: El nombre d'arguments d'entrada és incorrecte.\n"
+
+msgid "Jan"
+msgstr "Gen"
+
+msgid "Feb"
+msgstr "Feb"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Abr"
+
+msgid "May"
+msgstr "Mai"
+
+msgid "Jun"
+msgstr "Jun"
+
+msgid "Jul"
+msgstr "Jul"
+
+msgid "Aug"
+msgstr "Ago"
+
+msgid "Sep"
+msgstr "Set"
+
+msgid "Oct"
+msgstr "Oct"
+
+msgid "Nov"
+msgstr "Nov"
+
+msgid "Dec"
+msgstr "Des"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " Dl Dt Dc Dj Dv Ds Dg"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d és d'un tipus incorrecte: Ha de ser una matriu "
+"real.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d té una mida incorrecta: Ha de ser una matriu de "
+"(m * 3) o de (m * 6).\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d té un valor incorrecte: %s ha de ser entre %d i "
+"%d.\n"
+
+msgid "Month"
+msgstr "Mes"
+
+msgid "Day"
+msgstr "Dia"
+
+msgid "Hour"
+msgstr "Hora"
+
+msgid "Minute"
+msgstr "Minut"
+
+msgid "Second"
+msgstr "Segon"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: Els arguments d'entrada són d'un tipus incorrecte.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+"%s: Els arguments d'entrada tenen una mida incorrecta: Ha de tenir la "
+"mateixa mida.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: El nombre d'arguments d'entrada és incorrecte.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: Nombre incorrecte d'arguments d'entrada: Se'n necessiten %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d és d'un tipus incorrecte: Ha de ser un vector "
+"de nombres reals.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d té una mida incorrecta: Ha de ser entre %d i "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+"%s: Nombre incorrecte d'arguments d'entrada: Se'n necessiten %d o %d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d és d'un tipus incorrecte: Ha de ser una matriu "
+"constant de nombres reals.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d té un valor incorrecte: Ha de ser '%s' or "
+"'%s'.\n"
+
+msgid "Sat"
+msgstr "Ds"
+
+msgid "Sun"
+msgstr "Dg"
+
+msgid "Mon"
+msgstr "Dl"
+
+msgid "Tue"
+msgstr "Dt"
+
+msgid "Wed"
+msgstr "Dc"
+
+msgid "Thu"
+msgstr "Dj"
+
+msgid "Fri"
+msgstr "Dv"
+
+msgid "Saturday"
+msgstr "Dissabte"
+
+msgid "Sunday"
+msgstr "Diumenge"
+
+msgid "Monday"
+msgstr "Dilluns"
+
+msgid "Tuesday"
+msgstr "Dimarts"
+
+msgid "Wednesday"
+msgstr "Dimecres"
+
+msgid "Thursday"
+msgstr "Dijous"
+
+msgid "Friday"
+msgstr "Divendres"
diff --git a/modules/time/locales/cs_CZ.po b/modules/time/locales/cs_CZ.po
new file mode 100755
index 000000000..fef5118e1
--- /dev/null
+++ b/modules/time/locales/cs_CZ.po
@@ -0,0 +1,256 @@
+# Czech translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2013-06-12 20:58+0000\n"
+"Last-Translator: Zbyněk Schwarz <Unknown>\n"
+"Language-Team: Czech <cs@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr "%s: Špatná hodnota vstupního argumentu #%d: Musí být mezi %d a %d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr "%s: Špatný typ vstupních argumentů: Očekávány skalární hodnoty.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: Vyskytla se chyba.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Chyba při přidělování paměti.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Nelze přečíst vstupní argument #%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: Není více paměti.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr "%s: Špatná hodnota vstupního argumentu #%d: Očekáváno '%s'.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr "%s: Špatná velikost vstupního argumentu #%d: Očekáván řetězec.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr "%s: Špatná hodnota vstupního argumentu #%d: Musí být > %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+"%s: Špatná hodnota vstupního argumentu #%d: Očekáváno reálné číslo.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s: Špatný typ vstupního argumentu #%d: očekáváno celé číslo nebo '%s'.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s: Špatné hodnoty vstupního argumentu #%d: Očekávána nezáporná celá čísla.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr "%s: Špatný typ vstupních argumentů: Musí být skaláry.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr "%s: Špatná hodnota vstupního argumentu: Musí být mezi %d a %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: Špatný počet vstupních argumentů.\n"
+
+msgid "Jan"
+msgstr "Led"
+
+msgid "Feb"
+msgstr "Únor"
+
+msgid "Mar"
+msgstr "Bře"
+
+msgid "Apr"
+msgstr "Dub"
+
+msgid "May"
+msgstr "Kvě"
+
+msgid "Jun"
+msgstr "Čer"
+
+msgid "Jul"
+msgstr "Čvc"
+
+msgid "Aug"
+msgstr "Srp"
+
+msgid "Sep"
+msgstr "Zář"
+
+msgid "Oct"
+msgstr "Říj"
+
+msgid "Nov"
+msgstr "Lis"
+
+msgid "Dec"
+msgstr "Pro"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " Po Út St Čt Pá So Ne"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+"%s: Špatný typ vstupního argumentu #%d: Očekávána matice reálných čísel.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s: Špatná velikost vstupního argumentu #%d: očekávána matice m*3 nebo m*6.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s: Špatná hodnota vstupního argumentu #%d: %s musí být mezi %d a %d.\n"
+
+msgid "Month"
+msgstr "Měsíc"
+
+msgid "Day"
+msgstr "Den"
+
+msgid "Hour"
+msgstr "Hodina"
+
+msgid "Minute"
+msgstr "Minuta"
+
+msgid "Second"
+msgstr "Vteřina"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: Špatný typ vstupních argumentů.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+"%s: Špatná velikost vstupních argumentů: Očekávána stejná velikost.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: Špatný počet vstupních argumentů.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: Špatný počet vstupních argumentů: očekáváno %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr "%s: Špatný typ vstupního argumentu #%d: Očekáván reálný vektor.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: Špatná velikost vstupního argumentu #%d: Musí být mezi %d a %d.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr "%s: Před voláním toc() musíte zavolat tic().\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr "%s: Špatný počet vstupních argumentů: Očekávány %d nebo %d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"%s: Špatný typ vstupního argumentu #%d: Očekávána reálná konstantní matice.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s: Špatná hodnota vstupního argumentu #%d: Očekáváno \"%s\", nebo \"%s\".\n"
+
+msgid "Sat"
+msgstr "So"
+
+msgid "Sun"
+msgstr "Ne"
+
+msgid "Mon"
+msgstr "Po"
+
+msgid "Tue"
+msgstr "Út"
+
+msgid "Wed"
+msgstr "St"
+
+msgid "Thu"
+msgstr "Čt"
+
+msgid "Fri"
+msgstr "Pá"
+
+msgid "Saturday"
+msgstr "Sobota"
+
+msgid "Sunday"
+msgstr "Neděle"
+
+msgid "Monday"
+msgstr "Pondělí"
+
+msgid "Tuesday"
+msgstr "Úterý"
+
+msgid "Wednesday"
+msgstr "Středa"
+
+msgid "Thursday"
+msgstr "Čtvrtek"
+
+msgid "Friday"
+msgstr "Pátek"
diff --git a/modules/time/locales/de_DE.po b/modules/time/locales/de_DE.po
new file mode 100755
index 000000000..c1b20b835
--- /dev/null
+++ b/modules/time/locales/de_DE.po
@@ -0,0 +1,265 @@
+# German translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2013-06-17 20:24+0000\n"
+"Last-Translator: Petersen <Unknown>\n"
+"Language-Team: German <de@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: de\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: falscher Wert für Eingangsargument #%d: muß zwischen %d und %d liegen.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr "%s: falscher Typ für Eingangsargument: skalare Werte erwartet.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: Ein Fehler ist aufgetreten.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Speicherreservierungsfehler.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Eingangsargument #%d kann nicht gelesen werden.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: Kein weiterer Speicher verfügbar.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr "%s: falscher Wert für Eingangsargument #%d: '%s' erwartet.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: Falsche Größe des Eingangsarguments #%d: Eine Zeichenkette wird "
+"erwartet.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr "%s: falscher Wert für Eingangsargument #%d: muß >%d sein.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+"%s: falscher Wert für Eingangsargument #%d: eine reelle Zahl erwartet.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s: falscher Typ für Eingangsargument #%d: Integer oder '%s' erwartet.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s: falscher Wert für Eingangsargument #%d: nicht-negative Integer "
+"erwartet.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr "%s: falscher Typ für Eingangsargument: müssen Skalare sein.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+"%s: falscher Wert für Eingangsargument: muß zwischen %d und %d liegen.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: falsche Anzahl von Eingangsargumenten.\\n\n"
+
+msgid "Jan"
+msgstr "Januar"
+
+msgid "Feb"
+msgstr "Februar"
+
+msgid "Mar"
+msgstr "März"
+
+msgid "Apr"
+msgstr "April"
+
+msgid "May"
+msgstr "Mai"
+
+msgid "Jun"
+msgstr "Juni"
+
+msgid "Jul"
+msgstr "Juli"
+
+msgid "Aug"
+msgstr "August"
+
+msgid "Sep"
+msgstr "September"
+
+msgid "Oct"
+msgstr "Oktober"
+
+msgid "Nov"
+msgstr "November"
+
+msgid "Dec"
+msgstr "Dezember"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " Mon Die Mitt Don Fre Sa So"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr "%s: falscher Typ für Eingangsargument '%d: reelle Matrix erwartet.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s: falsche Größe für Eingangsargument #%d: m x 3 oder m x 6 Matrix "
+"erwartet.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s: falscher Wert für Eingangsargument #%d: %s muß zwischen %d und %d "
+"liegen.\n"
+
+msgid "Month"
+msgstr "Monat"
+
+msgid "Day"
+msgstr "Tag"
+
+msgid "Hour"
+msgstr "Stunden"
+
+msgid "Minute"
+msgstr "Minute"
+
+msgid "Second"
+msgstr "Zweite"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: falscher Typ für Eingangsargument.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr "%s: falsche Größe für Eingangsargument: gleiche Größe erwartet.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: falsche Anzahl an EIngangsargumenten.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: falsche Anzahl von Eingangsargumenten: %d erwartet.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+"%s: falscher Typ für Eingangsargument '%d: reeller Vektor erwartet.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: falsche Größe für Eingangsargument #%d: muß zwsichen %d und %d liegen.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr "%s: Sie müssen tic() vor toc() aufrufen.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+"%s: Unerwartete Anzahl von Eingangsargumenten: %d oder %d erwartet.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"%s: falscher Typ für Eingangsargument #%d: Matrix mit reellwertigen "
+"Konstanten erwartet.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s: falscher Wert für Eingangsargument #%d: '%s' oder '%s' erwartet.\n"
+
+msgid "Sat"
+msgstr "Samstag"
+
+msgid "Sun"
+msgstr "Sonntag"
+
+msgid "Mon"
+msgstr "Montag"
+
+msgid "Tue"
+msgstr "Dienstag"
+
+msgid "Wed"
+msgstr "Mittwoch"
+
+msgid "Thu"
+msgstr "Donnerstag"
+
+msgid "Fri"
+msgstr "Freitag"
+
+msgid "Saturday"
+msgstr "Samstag"
+
+msgid "Sunday"
+msgstr "Sonntag"
+
+msgid "Monday"
+msgstr "Montag"
+
+msgid "Tuesday"
+msgstr "Dienstag"
+
+msgid "Wednesday"
+msgstr "Mittwoch"
+
+msgid "Thursday"
+msgstr "Donnerstag"
+
+msgid "Friday"
+msgstr "Freitag"
diff --git a/modules/time/locales/es_ES.po b/modules/time/locales/es_ES.po
new file mode 100755
index 000000000..54bf299b4
--- /dev/null
+++ b/modules/time/locales/es_ES.po
@@ -0,0 +1,273 @@
+# Spanish translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2011-09-01 09:53+0000\n"
+"Last-Translator: Scilab.team <Unknown>\n"
+"Language-Team: Spanish <es@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: es\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: Valor incorrecto del argumento de entrada #%d: Debe estar entre %d y "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr ""
+"%s: Tipos de argumentos de entrada incorrectos: Se esperan valores "
+"escalares.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: Ha ocurrido un error.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr "%s: Valor incorrecto del argumento de entrada #%d: Debe ser > %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un entero ó "
+"'%s'.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s: Valor incorrecto del argumento de entrada #%d: Se esperaban enteros "
+"positivos.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr ""
+"%s: Tipos incorrectos para los argumentos de entrada: Deben ser escalares.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+"%s: Valor incorrecto para el argumento de entrada: Debe estar entre %d y "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: Número incorrecto de argumentos de entrada.\n"
+
+msgid "Jan"
+msgstr "Ene"
+
+msgid "Feb"
+msgstr "Feb"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Abr"
+
+msgid "May"
+msgstr "May"
+
+msgid "Jun"
+msgstr "Jun"
+
+msgid "Jul"
+msgstr "Jul"
+
+msgid "Aug"
+msgstr "Ago"
+
+msgid "Sep"
+msgstr "Sep"
+
+msgid "Oct"
+msgstr "Oct"
+
+msgid "Nov"
+msgstr "Nov"
+
+msgid "Dec"
+msgstr "Dic"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " L M X J V S D"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+"%s:Tipo incorrecto del argumento de entrada #%d: Se esperaba una matriz "
+"real.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s: Tamaño incorrecto del argumento de entrada #%d: se esperaba una matriz "
+"m*3 ó m*6.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s: Valor incorrecto del argumento de entrada #%d: %s debe ser entre %d y "
+"%d.\n"
+
+msgid "Month"
+msgstr "Mes"
+
+msgid "Day"
+msgstr "Día"
+
+msgid "Hour"
+msgstr "Hora"
+
+msgid "Minute"
+msgstr "Minuto"
+
+msgid "Second"
+msgstr "Segundo"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: Tipo incorrecto de argumentos de entrada.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+"%s: Tipo incorrecto de argumentos de entrada: Se los esperaba de la misma "
+"dimensión.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: Número incorrecto de argumentos de entrada.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: Número incorrecto de argumentos de entrada: Se esperaban %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un vector "
+"real.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: Tamaño incorrecto del argumento de entrada #%d: Debe ser entre %d y %d.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+"%s: Número incorrecto de argumentos de entrada: Se esperaban %d ó %d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba matriz real "
+"constante.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s: Valor incorrecto del argumento de entrada #%d: Se esperaba '%s' o '%s'.\n"
+
+msgid "Sat"
+msgstr "Sáb"
+
+msgid "Sun"
+msgstr "Dom"
+
+msgid "Mon"
+msgstr "Lun"
+
+msgid "Tue"
+msgstr "Mar"
+
+msgid "Wed"
+msgstr "Mié"
+
+msgid "Thu"
+msgstr "Jue"
+
+msgid "Fri"
+msgstr "Vie"
+
+msgid "Saturday"
+msgstr "Sábado"
+
+msgid "Sunday"
+msgstr "Domingo"
+
+msgid "Monday"
+msgstr "Lunes"
+
+msgid "Tuesday"
+msgstr "Martes"
+
+msgid "Wednesday"
+msgstr "Miércoles"
+
+msgid "Thursday"
+msgstr "Jueves"
+
+msgid "Friday"
+msgstr "Viernes"
diff --git a/modules/time/locales/fr_FR.po b/modules/time/locales/fr_FR.po
new file mode 100755
index 000000000..e2454b8ff
--- /dev/null
+++ b/modules/time/locales/fr_FR.po
@@ -0,0 +1,275 @@
+# French translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2014-02-19 12:56+0000\n"
+"Last-Translator: Julie PAUL <Unknown>\n"
+"Language-Team: French <fr@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: fr\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s : Valeur erronée de l'argument d'entrée n°%d : Doit être entre %d et %d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr ""
+"%s : Type erroné des arguments d'entrée : Des valeurs scalaires attendues.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s : Une erreur s'est produite.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s : Erreur d'allocation mémoire.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s : Impossible de lire l'argument d'entrée n°%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s : Plus de mémoire disponible.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr "%s : Valeur erronée de l'argument d'entrée n°%d : '%s' attendu.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s : Dimension erronée de l'argument d'entrée n°%d : Une chaîne de "
+"caractères attendue.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr "%s : Valeur erronée de l'argument d'entrée n°%d : Doit être > %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr "%s : Valeur erronée de l'argument d'entrée n°%d : Un réel attendu.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Un entier ou '%s' attendu.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s : Valeurs erronées de l'argument d'entrée n°%d : Un entier non-négatif "
+"attendu.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr ""
+"%s : Type erroné des arguments d'entrée : Doivent être des scalaires.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+"%s : Valeur erronée de l'argument d'entrée : Doit être compris entre %d et "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s : Nombre erroné d'arguments d'entrée.\n"
+
+msgid "Jan"
+msgstr "Jan."
+
+msgid "Feb"
+msgstr "Fév."
+
+msgid "Mar"
+msgstr "Mars"
+
+msgid "Apr"
+msgstr "Avr."
+
+msgid "May"
+msgstr "Mai"
+
+msgid "Jun"
+msgstr "Juin"
+
+msgid "Jul"
+msgstr "Juil."
+
+msgid "Aug"
+msgstr "Août"
+
+msgid "Sep"
+msgstr "Sept."
+
+msgid "Oct"
+msgstr "Oct."
+
+msgid "Nov"
+msgstr "Nov."
+
+msgid "Dec"
+msgstr "Déc."
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " L Ma M Je V Sam Dim"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Une matrice réelle attendue.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s : Dimension erronée de l'argument d'entrée n°%d : Une matrice m*3 ou m*6 "
+"attendue.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s : Valeur erronée de l'argument d'entrée n°%d : %s doit être entre %d et "
+"%d.\n"
+
+msgid "Month"
+msgstr "Mois"
+
+msgid "Day"
+msgstr "Jour"
+
+msgid "Hour"
+msgstr "Heure"
+
+msgid "Minute"
+msgstr "Minute"
+
+msgid "Second"
+msgstr "Second"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s : Type erroné des arguments d'entrée.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+"%s : Dimension erronée des arguments d'entrée : Même dimension attendue.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s : Nombre erroné d'argument d'entrée.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s : Nombre erroné d'argument d'entrée : %d attendu.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr "%s : Nombre erroné d'argument(s) d'entrée : %d attendu(s).\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+"%s : Valeur erronée de l'argument d'entrée n°%d : Une valeur entière "
+"attendue.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+"%s : Dimension erronée des arguments d'entrée n°%d et n°%d : Mêmes "
+"dimensions attendues.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Un vecteur réel attendu.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s : Dimension erronée de l'argument d'entrée n°%d : Doit être entre %d et "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+"%s : Dimension erronée des arguments d'entrée n°%d et n°%d : Même dimension "
+"attendue.\n"
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr "%s: Vous devez appeler tic() avant d'appeler toc().\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr "%s : Nombre erroné d'arguments d'entrée : %d ou %d attendus.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Une matrice de constantes "
+"réelles attendue.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s : Valeur erronée de l'argument d'entrée n°%d : '%s' ou '%s' attendu.\n"
+
+msgid "Sat"
+msgstr "Sam."
+
+msgid "Sun"
+msgstr "Dim."
+
+msgid "Mon"
+msgstr "Lun."
+
+msgid "Tue"
+msgstr "Mar."
+
+msgid "Wed"
+msgstr "Mer."
+
+msgid "Thu"
+msgstr "Jeu."
+
+msgid "Fri"
+msgstr "Ven."
+
+msgid "Saturday"
+msgstr "Samedi"
+
+msgid "Sunday"
+msgstr "Dimanche"
+
+msgid "Monday"
+msgstr "Lundi"
+
+msgid "Tuesday"
+msgstr "Mardi"
+
+msgid "Wednesday"
+msgstr "Mercredi"
+
+msgid "Thursday"
+msgstr "Jeudi"
+
+msgid "Friday"
+msgstr "Vendredi"
diff --git a/modules/time/locales/it_IT.po b/modules/time/locales/it_IT.po
new file mode 100755
index 000000000..ca44eb7f5
--- /dev/null
+++ b/modules/time/locales/it_IT.po
@@ -0,0 +1,284 @@
+# Italian translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-09-30 15:32+0000\n"
+"Last-Translator: Carml <mighty.carml@gmail.com>\n"
+"Language-Team: Italian <it@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: it\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha un valore sbagliato: deve essere tra %d e "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr ""
+"%s: Gli argomenti in ingresso sono di tipo sbagliato: erano attesi dei "
+"valori scalari.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: Si è verificato un errore.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Errore di allocazione della memoria.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Impossibile leggere l'argomento in ingresso #%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: Memoria esaurita.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha un valore sbagliato: era atteso '%s' .\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: era attesa una "
+"stringa.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha un valore sbagliato: deve essere >%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha un valore sbagliato: era atteso un numero "
+"reale.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un intero "
+"oppure '%s'.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha dei valori sbagliati: erano attesi degli "
+"interi non-negativi.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr ""
+"%s: Gli argomenti in ingresso sono di tipo sbagliato: devono essere degli "
+"scalari.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+"%s: L'argomento in ingresso ha un valore sbagliato: deve essere tra %d e "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: Il numero degli argomenti in ingresso è sbagliato.\n"
+
+msgid "Jan"
+msgstr "Gen"
+
+msgid "Feb"
+msgstr "Feb"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Apr"
+
+msgid "May"
+msgstr "Mag"
+
+msgid "Jun"
+msgstr "Giu"
+
+msgid "Jul"
+msgstr "Lug"
+
+msgid "Aug"
+msgstr "Ago"
+
+msgid "Sep"
+msgstr "Set"
+
+msgid "Oct"
+msgstr "Ott"
+
+msgid "Nov"
+msgstr "Nov"
+
+msgid "Dec"
+msgstr "Dic"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " L Ma M G V Sab Dom"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una matrice "
+"reale.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha una dimensione sbagliat: era attesa una "
+"matrice m*3 o m*6.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha un valore sbagliato:%s deve essere tra %d "
+"e %d.\n"
+
+msgid "Month"
+msgstr "Mese"
+
+msgid "Day"
+msgstr "Giorno"
+
+msgid "Hour"
+msgstr "Ora"
+
+msgid "Minute"
+msgstr "Minuto"
+
+msgid "Second"
+msgstr "Secondo"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s:Gli argomenti in ingresso sono di tipo sbagliato.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+"%s: Gli argomenti in ingresso hanno una dimensione sbagliata: era attesa la "
+"stessa dimensione.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: Il numero degli argomenti in ingresso è sbagliato.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr ""
+"%s: Il numero degli argomenti in ingresso è sbagliato: ne erano attesi %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un vettore "
+"reale.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: deve essere tra "
+"%d e %d.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+"%s: Il numero degli argomenti in ingresso è sbagliato: ne erano attesi %d o "
+"%d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una matrice "
+"costante reale.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha un valore sbagliato: era atteso '%s' o "
+"'%s'.\n"
+
+msgid "Sat"
+msgstr "Sab"
+
+msgid "Sun"
+msgstr "Dom"
+
+msgid "Mon"
+msgstr "Lun"
+
+msgid "Tue"
+msgstr "Mar"
+
+msgid "Wed"
+msgstr "Mer"
+
+msgid "Thu"
+msgstr "Gio"
+
+msgid "Fri"
+msgstr "Ven"
+
+msgid "Saturday"
+msgstr "Sabato"
+
+msgid "Sunday"
+msgstr "Domenica"
+
+msgid "Monday"
+msgstr "Lunedì"
+
+msgid "Tuesday"
+msgstr "Martedì"
+
+msgid "Wednesday"
+msgstr "Mercoledì"
+
+msgid "Thursday"
+msgstr "Giovedì"
+
+msgid "Friday"
+msgstr "Venerdì"
diff --git a/modules/time/locales/ja_JP.po b/modules/time/locales/ja_JP.po
new file mode 100755
index 000000000..5a76681ab
--- /dev/null
+++ b/modules/time/locales/ja_JP.po
@@ -0,0 +1,326 @@
+# Japanese translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2014-02-23 10:10+0000\n"
+"Last-Translator: Rui Hirokawa <Unknown>\n"
+"Language-Team: Japanese <z-saito@guitar.ocn.ne.jp>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"X-Poedit-Country: Japan\n"
+"Language: ja\n"
+"X-Poedit-Language: Japanese\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr "%s: 入力引数 #%d の値が間違っています: %d および %d の間の値を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr "%s: 入力引数の型が間違っています: スカラー値で指定してください.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: エラーが発生しました.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: メモリ割当エラー.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: 入力引数 #%d を読み込めません.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: メモリ不足です.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr "%s: 入力引数 #%d の値が間違っています: ’%s’ を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr "%s: 入力引数 #%d の大きさが間違っています: 文字列を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr "%s: 入力引数 #%d の値が間違っています: %d より大きい値を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr "%s: 入力引数 #%d の値が間違っています: 実数を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr "%s: 入力引数 #%d の型が間違っています: 整数または '%s' を指定してください.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr "%s: 入力引数 #%d の値が正しくありません: 非負の整数を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr "%s: 入力引数の型が間違っています: スカラー指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr "%s: 入力引数の値が間違っています: %d および %d の間の値を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: 入力引数の数が間違っています.\n"
+
+#
+# File: macros/calendar.sci, line: 37
+# File: macros/date.sci, line: 12
+# File: macros/weekday.sci, line: 56
+msgid "Jan"
+msgstr "1月"
+
+#
+# File: macros/calendar.sci, line: 38
+# File: macros/date.sci, line: 13
+msgid "Feb"
+msgstr "2月"
+
+#
+# File: macros/calendar.sci, line: 39
+# File: macros/date.sci, line: 14
+msgid "Mar"
+msgstr "3月"
+
+#
+# File: macros/calendar.sci, line: 40
+# File: macros/date.sci, line: 15
+msgid "Apr"
+msgstr "4月"
+
+#
+# File: macros/calendar.sci, line: 41
+# File: macros/date.sci, line: 16
+msgid "May"
+msgstr "5月"
+
+#
+# File: macros/calendar.sci, line: 42
+# File: macros/date.sci, line: 17
+msgid "Jun"
+msgstr "6月"
+
+#
+# File: macros/calendar.sci, line: 43
+# File: macros/date.sci, line: 18
+msgid "Jul"
+msgstr "7月"
+
+#
+# File: macros/calendar.sci, line: 44
+# File: macros/date.sci, line: 19
+msgid "Aug"
+msgstr "8月"
+
+#
+# File: macros/calendar.sci, line: 45
+# File: macros/date.sci, line: 20
+msgid "Sep"
+msgstr "9月"
+
+#
+# File: macros/calendar.sci, line: 46
+# File: macros/date.sci, line: 21
+msgid "Oct"
+msgstr "10月"
+
+#
+# File: macros/calendar.sci, line: 47
+# File: macros/date.sci, line: 22
+msgid "Nov"
+msgstr "11月"
+
+#
+# File: macros/calendar.sci, line: 48
+# File: macros/date.sci, line: 23
+msgid "Dec"
+msgstr "12月"
+
+#
+# File: macros/calendar.sci, line: 52
+msgid " M Tu W Th F Sat Sun"
+msgstr " 月 火 水 木 金 土 日"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr "%s: 入力引数 #%d の型が間違っています: 実数行列を指定してください.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr "%s: 入力引数 #%d の大きさが間違っています: m*3 行列または m*6 行列を指定してください.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr "%s: 入力引数 #%d の値が間違っています: %s は %d から %d の範囲で指定してください.\n"
+
+#
+# File: macros/datenum.sci, line: 50
+msgid "Month"
+msgstr "月"
+
+#
+# File: macros/datenum.sci, line: 54
+msgid "Day"
+msgstr "日"
+
+#
+# File: macros/datenum.sci, line: 60
+msgid "Hour"
+msgstr "時"
+
+#
+# File: macros/datenum.sci, line: 64
+msgid "Minute"
+msgstr "分"
+
+#
+# File: macros/datenum.sci, line: 68
+msgid "Second"
+msgstr "秒"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: 入力引数の型が間違っています.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr "%s: 入力引数 の大きさが間違っています: 同じ大きさで指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: 入力引数の数が間違っています.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: 入力引数の数が間違っています: %d 個の引数を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr "%s: 入力引数の数に誤りがあります: %d 個の引数を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr "%s: 入力引数 #%dの値が間違っています: 整数値を指定してください.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr "%s: 入力引数 #%d および #%d の大きさが間違っています: 同じ大きさで指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr "%s: 入力引数 #%d の型が間違っています: 実数ベクトルを指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr "%s: 入力引数 #%d の大きさが間違っています: %d および %d の間としてください.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr "%s: 入力引数 #%d および #%d の大きさが間違っています: 同じ大きさで指定してください.\n"
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr "%s: toc()をコールする前に tic()をコールする必要があります.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr "%s: 入力引数の数が間違っています: %d または %d 個の引数を指定してください.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr "%s: 入力引数 #%d の型が間違っています: 実定数行列を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr "%s: 入力引数 #%d の値が間違っています: '%s' または '%s' を指定してください.\n"
+
+#
+# File: macros/weekday.sci, line: 41
+msgid "Sat"
+msgstr "土曜"
+
+#
+# File: macros/weekday.sci, line: 42
+msgid "Sun"
+msgstr "日曜"
+
+#
+# File: macros/weekday.sci, line: 43
+msgid "Mon"
+msgstr "月曜"
+
+#
+# File: macros/weekday.sci, line: 44
+msgid "Tue"
+msgstr "火曜"
+
+#
+# File: macros/weekday.sci, line: 45
+msgid "Wed"
+msgstr "水曜"
+
+#
+# File: macros/weekday.sci, line: 46
+msgid "Thu"
+msgstr "木曜"
+
+#
+# File: macros/weekday.sci, line: 47
+msgid "Fri"
+msgstr "金曜"
+
+#
+# File: macros/weekday.sci, line: 49
+msgid "Saturday"
+msgstr "土曜日"
+
+#
+# File: macros/weekday.sci, line: 50
+msgid "Sunday"
+msgstr "日曜日"
+
+#
+# File: macros/weekday.sci, line: 51
+msgid "Monday"
+msgstr "月曜日"
+
+#
+# File: macros/weekday.sci, line: 52
+msgid "Tuesday"
+msgstr "火曜日"
+
+#
+# File: macros/weekday.sci, line: 53
+msgid "Wednesday"
+msgstr "水曜日"
+
+#
+# File: macros/weekday.sci, line: 54
+msgid "Thursday"
+msgstr "木曜日"
+
+#
+# File: macros/weekday.sci, line: 55
+msgid "Friday"
+msgstr "金曜日"
diff --git a/modules/time/locales/pl_PL.po b/modules/time/locales/pl_PL.po
new file mode 100755
index 000000000..1aea44804
--- /dev/null
+++ b/modules/time/locales/pl_PL.po
@@ -0,0 +1,277 @@
+# Polish translation for scilab
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-10-25 20:41+0000\n"
+"Last-Translator: Grzegorz Szostek <Unknown>\n"
+"Language-Team: Polish <pl@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: pl\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: Nieprawidłowa wartość argumentu wejściowego nr %d: musi być pomiędzy %d "
+"i %d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ argumentów wejściowych: oczekiwane wartości skalarne.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: Wystąpił błąd.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Błąd przedzielania pamięci\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Nie można wczytać argumentu wejściowego #%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: Brak pamięci.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr ""
+"%s: Nieprawidłowa wartość dla argumentu wejściowego #%d: oczekiwano '%s'\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: Niewłaściwy rozmiar parametru wejściowego #%d: oczekiwano ciąg znaków.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr ""
+"%s: Nieprawidłowa wartość argumentu wejściowego nr %d: musi być > %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+"%s: Nieprawidłowa wartość argumentu wejściowego #%d: Oczekiwano wartości "
+"rzeczywistej.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ argumentu wejściowego nr %d: oczekiwany '%s' lub "
+"integer.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s: Nieprawidłowe wartości argumentu wejściowego nr %d: oczekiwano "
+"nieujemnych wartości całkowitych.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr "%s: Nieprawidłowy typ argumentów wejściowych: muszą byś skalarami.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+"%s: Nieprawidłowa wartość argumentu wejściowego: musi być pomiędzy %d i %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: Niewłaściwa liczba argumentów wejściowych.\n"
+
+msgid "Jan"
+msgstr "Sty"
+
+msgid "Feb"
+msgstr "Lut"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Kwi"
+
+msgid "May"
+msgstr "Maj"
+
+msgid "Jun"
+msgstr "Cze"
+
+msgid "Jul"
+msgstr "Lip"
+
+msgid "Aug"
+msgstr "Sie"
+
+msgid "Sep"
+msgstr "Wrz"
+
+msgid "Oct"
+msgstr "Paź"
+
+msgid "Nov"
+msgstr "Lis"
+
+msgid "Dec"
+msgstr "Gru"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " Pn Wt Śr Cz Pt So Ni"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+"%s: Niewłaściwy typ argumentu wejściowego nr %d: oczekiwana macierz wartości "
+"typu real.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s: Nieprawidłowy rozmiar argumentu wejściowego nr %d: oczekiwana jest "
+"macierz m*3lub m*6.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s: Nieprawidłowa wartość argumentu wejściowego nr %d: %s musi być pomiędzy "
+"%d a %d.\n"
+
+msgid "Month"
+msgstr "miesiąc"
+
+msgid "Day"
+msgstr "dzień"
+
+msgid "Hour"
+msgstr "godzina"
+
+msgid "Minute"
+msgstr "minuta"
+
+msgid "Second"
+msgstr "sekunda"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: Nieprawidłowy typ argumentów wejściowych.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+"%s: Nieprawidłowa wielkość wprowadzanych argumentów. Oczekiwana jest taka "
+"sama wielkość.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: Nieprawidłowa liczba argumentów wejściowych.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: Nieprawidłowa liczba argumentów wejściowych: oczekiwano %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+"%s: Niewłaściwy typ argumentu wejściowego nr %d: oczekiwany jest wektor "
+"wartości typu real.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: Nieprawidłowy rozmiar argumentu wejściowego nr %d: musi by pomiędzy %d i "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+"%s: Nieprawidłowa liczba argumentów wejściowych: oczekiwano %d lub %d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ argumentu wejściowego nr %d: Oczekiwana stała macierz "
+"typu Real.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s: Nieprawidłowa wartość argumentu wejściowego nr %d: oczekiwano '%s' lub "
+"'%s' .\n"
+
+msgid "Sat"
+msgstr "sb"
+
+msgid "Sun"
+msgstr "nd"
+
+msgid "Mon"
+msgstr "pn"
+
+msgid "Tue"
+msgstr "wt"
+
+msgid "Wed"
+msgstr "śr"
+
+msgid "Thu"
+msgstr "Cz"
+
+msgid "Fri"
+msgstr "pt"
+
+msgid "Saturday"
+msgstr "sobota"
+
+msgid "Sunday"
+msgstr "niedziela"
+
+msgid "Monday"
+msgstr "poniedziałek"
+
+msgid "Tuesday"
+msgstr "wtorek"
+
+msgid "Wednesday"
+msgstr "środa"
+
+msgid "Thursday"
+msgstr "czwartek"
+
+msgid "Friday"
+msgstr "piątek"
diff --git a/modules/time/locales/pt_BR.po b/modules/time/locales/pt_BR.po
new file mode 100755
index 000000000..87f68fbec
--- /dev/null
+++ b/modules/time/locales/pt_BR.po
@@ -0,0 +1,285 @@
+# Brazilian Portuguese translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2015-02-23 03:54+0000\n"
+"Last-Translator: RodolfoRG <rodolforg@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: pt_BR\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: deve estar entre %d e "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr ""
+"%s: Tipo incorreto para os argumentos de entrada: esperava-se valores "
+"escalares.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: Ocorreu um erro.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Erro de alocação de memória.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Não foi possível ler o argumento de entrada #%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: Não há mais memória.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: Esperava-se '%s'.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: Tamanho incorreto para o argumento de entrada #%d: Esperava-se um "
+"string.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: deve ser > %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+"%s: Valor errado para argumento de entrada #%d: um real é esperado.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um número "
+"inteiro ou '%s'.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s: Valores incorretos para o argumento de entrada #%d: esperava-se números "
+"inteiros não negativos.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr ""
+"%s: Tipo incorreto para os argumentos de entrada: devem ser escalares.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada: deve estar entre %d e %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: Quantidade incorreta de argumentos de entrada.\n"
+
+msgid "Jan"
+msgstr "Jan"
+
+msgid "Feb"
+msgstr "Fev"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Abr"
+
+msgid "May"
+msgstr "Mai"
+
+msgid "Jun"
+msgstr "Jun"
+
+msgid "Jul"
+msgstr "Jul"
+
+msgid "Aug"
+msgstr "Ago"
+
+msgid "Sep"
+msgstr "Set"
+
+msgid "Oct"
+msgstr "Out"
+
+msgid "Nov"
+msgstr "Nov"
+
+msgid "Dec"
+msgstr "Dez"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " Seg Ter Qua Qui Sex Sáb Dom"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se uma matriz "
+"de números reais.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se uma "
+"matriz m*3 ou m*6.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s: Valor incorretos para o argumento de entrada #%d: %s deve estar entre %d "
+"e%d.\n"
+
+msgid "Month"
+msgstr "Mês"
+
+msgid "Day"
+msgstr "Dia"
+
+msgid "Hour"
+msgstr "Hora"
+
+msgid "Minute"
+msgstr "Minuto"
+
+msgid "Second"
+msgstr "Segundo"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: Tipo incorreto para os argumentos de entrada.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+"%s: Tamanho incorreto para os argumentos de entrada: esperava-se tamanho "
+"iguais.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: Quantidade incorreta de argumentos de entrada.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: Quantidade incorreta de argumentos de entrada: esperava-se %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr "%s: Quantidade incorreta de argumentos de entrada: esperava-se %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: esperava-se um valor "
+"inteiro.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+"%s: Tamanho incorreto para os argumentos de entrada #%d e #%d: esperava-se "
+"dimensões iguais.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um vetor de "
+"números reais.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: Tamanho incorreto para o argumento de entrada #%d: deve ser entre %d e "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+"%s: Tamanho incorreto para os argumentos de entrada #%d e #%d: esperava-se "
+"dimensões iguais.\n"
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr "%s: Você deve chamar tic() antes de chamar toc().\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+"%s: Quantidade incorreta de argumentos de entrada: esperava-se %d ou %d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se uma "
+"matriz de números reais constantes.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: esperava-se '%s' ou "
+"'%s'.\n"
+
+msgid "Sat"
+msgstr "Sáb"
+
+msgid "Sun"
+msgstr "Dom"
+
+msgid "Mon"
+msgstr "Seg"
+
+msgid "Tue"
+msgstr "Ter"
+
+msgid "Wed"
+msgstr "Qua"
+
+msgid "Thu"
+msgstr "Qui"
+
+msgid "Fri"
+msgstr "Sex"
+
+msgid "Saturday"
+msgstr "Sábado"
+
+msgid "Sunday"
+msgstr "Domingo"
+
+msgid "Monday"
+msgstr "Segunda-feira"
+
+msgid "Tuesday"
+msgstr "Terça-feira"
+
+msgid "Wednesday"
+msgstr "Quarta-feira"
+
+msgid "Thursday"
+msgstr "Quinta-feira"
+
+msgid "Friday"
+msgstr "Sexta-feira"
diff --git a/modules/time/locales/ru_RU.po b/modules/time/locales/ru_RU.po
new file mode 100755
index 000000000..ef63fbcae
--- /dev/null
+++ b/modules/time/locales/ru_RU.po
@@ -0,0 +1,271 @@
+# Russian translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2015-02-14 16:51+0000\n"
+"Last-Translator: Stanislav V. Kroter <krotersv@gmail.com>\n"
+"Language-Team: Russian <ru@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: ru\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: Неверное значение входного параметра №%d: должно быть между %d и %d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr "%s: Неверный тип входных параметров: ожидалось скалярное значение.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: Произошла ошибка.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Ошибка распределения памяти.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Не могу прочитать входной аргумент №%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: Недостаточно памяти.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr "%s: Неверное значение входного параметра №%d: ожидалось «%s».\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr "%s: Неверный размер входного параметра №%d: ожидалась строка.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr "%s: Неверное значение входного параметра №%d: должно быть > %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+"%s: Неверное значение входного аргумента №%d: ожидалось вещественное число.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s: Неверный тип входного параметра №%d: ожидалось целое число или «%s».\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s: Неверные значения входного параметра №%d: ожидались неотрицательные "
+"целые числа.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr "%s: Неверный тип входных параметров: должен быть скаляр.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+"%s: Неверное значение входного параметра: должно быть между %d и %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: Неверное количество входных параметров.\n"
+
+msgid "Jan"
+msgstr "Янв"
+
+msgid "Feb"
+msgstr "Фев"
+
+msgid "Mar"
+msgstr "Мар"
+
+msgid "Apr"
+msgstr "Апр"
+
+msgid "May"
+msgstr "Май"
+
+msgid "Jun"
+msgstr "Июн"
+
+msgid "Jul"
+msgstr "Июл"
+
+msgid "Aug"
+msgstr "Авг"
+
+msgid "Sep"
+msgstr "Сен"
+
+msgid "Oct"
+msgstr "Окт"
+
+msgid "Nov"
+msgstr "Ноя"
+
+msgid "Dec"
+msgstr "Дек"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " Пн Вт Ср Чт Пт Сб Вс"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+"%s: Неверный тип входного параметра №%d: ожидалась матрица вещественных "
+"чисел.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s: Неверный размер входного параметра №%d: ожидалась (m x 3) или (m x 6)-"
+"матрица.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s: Неверное значение входного параметра №%d: %s должно быть между %d и %d.\n"
+
+msgid "Month"
+msgstr "месяц"
+
+msgid "Day"
+msgstr "день"
+
+msgid "Hour"
+msgstr "час"
+
+msgid "Minute"
+msgstr "минута"
+
+msgid "Second"
+msgstr "секунда"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: Неверный тип входных параметров.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+"%s: Неверный размер входных параметров: ожидался одинаковый размер.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: Неверное количество входных параметров.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: Неверное количество входных параметров: ожидалось %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr "%s: Неверное количество входных аргументов: Ожидалось %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+"%s: Неверное значение входного аргумента №%d: ожидалось целочисленное "
+"значение.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+"%s: Неверный размер входных аргументов №%d и №%d: Ожидался одинаковый "
+"размер.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+"%s: Неверный тип входного параметра №%d: ожидался вектор вещественных "
+"чисел.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: Неверный размер входного параметра №%d: должен быть между %d и %d.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+"%s: Неверный размер входных аргументов №%d и №%d: ожидается один и тот же "
+"размер.\n"
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr "%s: Вы должны вызвать tic() перед тем, как вызвать toc().\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr "%s: Неверное количество входных параметров: ожидалось %d или %d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"%s: Неверный тип входного параметра №%d: ожидалась матрица вещественных "
+"констант.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s: Неверное значение входного параметра №%d: ожидалось «%s» или «%s».\n"
+
+msgid "Sat"
+msgstr "Сбт"
+
+msgid "Sun"
+msgstr "Вск"
+
+msgid "Mon"
+msgstr "Пнд"
+
+msgid "Tue"
+msgstr "Втр"
+
+msgid "Wed"
+msgstr "Срд"
+
+msgid "Thu"
+msgstr "Чтв"
+
+msgid "Fri"
+msgstr "Птн"
+
+msgid "Saturday"
+msgstr "Суббота"
+
+msgid "Sunday"
+msgstr "Воскресенье"
+
+msgid "Monday"
+msgstr "Понедельник"
+
+msgid "Tuesday"
+msgstr "Вторник"
+
+msgid "Wednesday"
+msgstr "Среда"
+
+msgid "Thursday"
+msgstr "Четверг"
+
+msgid "Friday"
+msgstr "Пятница"
diff --git a/modules/time/locales/time.pot b/modules/time/locales/time.pot
new file mode 100755
index 000000000..a147cccdf
--- /dev/null
+++ b/modules/time/locales/time.pot
@@ -0,0 +1,405 @@
+# Localization of the module time
+# Please see in SCI/tools/localization for localization management
+# Copyright (C) 2007-2008 - INRIA
+# Copyright (C) 2008-2011 - DIGITEO
+# Copyright (C) 2012-2014 - Scilab-Enterprises
+# This file is distributed under the same license as the Scilab package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"Last-Translator: Vincent COUVERT <vincent.couvert@scilab-enterprises.com>\n"
+"Language-Team: Scilab Localization <localization@lists.scilab.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Revision-Date: 2015-03-27 13:54+0100\n"
+
+# File: sci_gateway/c/sci_calendar.c, line: 59
+# File: sci_gateway/c/sci_calendar.c, line: 65
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_calendar.c, line: 71
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_getdate.c, line: 38
+# File: sci_gateway/c/sci_getdate.c, line: 157
+# File: sci_gateway/c/sci_timer.c, line: 43
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_getdate.c, line: 56
+# File: sci_gateway/c/sci_getdate.c, line: 62
+# File: sci_gateway/c/sci_getdate.c, line: 105
+# File: sci_gateway/c/sci_getdate.c, line: 121
+# File: sci_gateway/c/sci_getdate.c, line: 163
+# File: sci_gateway/c/sci_getdate.c, line: 176
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_getdate.c, line: 73
+# File: sci_gateway/c/sci_getdate.c, line: 137
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_getdate.c, line: 86
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_getdate.c, line: 94
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_getdate.c, line: 111
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_getdate.c, line: 147
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_getdate.c, line: 182
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_getdate.c, line: 188
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_sleep.c, line: 40
+# File: sci_gateway/c/sci_xpause.c, line: 39
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+
+# File: macros/calendar.sci, line: 27
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 29
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 33
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 37
+# File: macros/date.sci, line: 12
+# File: macros/weekday.sci, line: 56
+msgid "Jan"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 38
+# File: macros/date.sci, line: 13
+msgid "Feb"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 39
+# File: macros/date.sci, line: 14
+msgid "Mar"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 40
+# File: macros/date.sci, line: 15
+msgid "Apr"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 41
+# File: macros/date.sci, line: 16
+msgid "May"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 42
+# File: macros/date.sci, line: 17
+msgid "Jun"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 43
+# File: macros/date.sci, line: 18
+msgid "Jul"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 44
+# File: macros/date.sci, line: 19
+msgid "Aug"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 45
+# File: macros/date.sci, line: 20
+msgid "Sep"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 46
+# File: macros/date.sci, line: 21
+msgid "Oct"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 47
+# File: macros/date.sci, line: 22
+msgid "Nov"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 48
+# File: macros/date.sci, line: 23
+msgid "Dec"
+msgstr ""
+
+#
+# File: macros/calendar.sci, line: 52
+msgid " M Tu W Th F Sat Sun"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 40
+# File: macros/datevec.sci, line: 28
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 46
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 50
+# File: macros/datenum.sci, line: 54
+# File: macros/datenum.sci, line: 60
+# File: macros/datenum.sci, line: 64
+# File: macros/datenum.sci, line: 68
+#, c-format
+msgid "%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 50
+msgid "Month"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 54
+msgid "Day"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 60
+msgid "Hour"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 64
+msgid "Minute"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 68
+msgid "Second"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 89
+# File: macros/datenum.sci, line: 126
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 93
+# File: macros/datenum.sci, line: 134
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+
+#
+# File: macros/datenum.sci, line: 161
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr ""
+
+#
+# File: macros/datevec.sci, line: 24
+# File: macros/isLeapYear.sci, line: 25
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr ""
+
+#
+# File: macros/eomday.sci, line: 20
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr ""
+
+#
+# File: macros/eomday.sci, line: 27
+# File: macros/eomday.sci, line: 31
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+
+#
+# File: macros/eomday.sci, line: 35
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+
+#
+# File: macros/etime.sci, line: 22
+# File: macros/etime.sci, line: 25
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+
+#
+# File: macros/etime.sci, line: 28
+# File: macros/etime.sci, line: 31
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+
+#
+# File: macros/etime.sci, line: 35
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+
+#
+# File: macros/toc.sci, line: 19
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 24
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 28
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 32
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 41
+msgid "Sat"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 42
+msgid "Sun"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 43
+msgid "Mon"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 44
+msgid "Tue"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 45
+msgid "Wed"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 46
+msgid "Thu"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 47
+msgid "Fri"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 49
+msgid "Saturday"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 50
+msgid "Sunday"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 51
+msgid "Monday"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 52
+msgid "Tuesday"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 53
+msgid "Wednesday"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 54
+msgid "Thursday"
+msgstr ""
+
+#
+# File: macros/weekday.sci, line: 55
+msgid "Friday"
+msgstr ""
diff --git a/modules/time/locales/uk_UA.po b/modules/time/locales/uk_UA.po
new file mode 100755
index 000000000..c0ca7c5de
--- /dev/null
+++ b/modules/time/locales/uk_UA.po
@@ -0,0 +1,285 @@
+# Ukrainian translation for scilab
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the scilab package.
+#
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+# Yuri Chornoivan <yurchor@gmail.com>, 2010.
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2014-02-23 08:48+0000\n"
+"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n"
+"Language-Team: Ukrainian <translation@linux.org.ua>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: uk\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра №%d: слід використовувати значення "
+"між %d та %d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr ""
+"%s: помилковий тип вхідних параметрів: слід використовувати скалярні "
+"значення.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: сталася помилка.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: помилка під час спроби виділення пам’яті.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: не вдалося прочитати вхідний параметр №%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: доступну пам’ять вичерпано.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра №%d: слід використовувати «%s».\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: помилковий розмір вхідного параметра №%d: слід використовувати рядок.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра №%d: слід використовувати > %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра №%d: мало бути вказано дійсне "
+"значення.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра №%d: мало бути ціле число або «%s».\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr ""
+"%s: помилкові значення вхідного параметра №%d: слід використовувати "
+"невід’ємні цілі числа\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr ""
+"%s: помилковий тип вхідних параметрів: значення мають бути скалярними.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра: слід використовувати значення між "
+"%d та %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: помилкова кількість вхідних параметрів.\n"
+
+msgid "Jan"
+msgstr "січ"
+
+msgid "Feb"
+msgstr "лют"
+
+msgid "Mar"
+msgstr "бер"
+
+msgid "Apr"
+msgstr "кві"
+
+msgid "May"
+msgstr "тра"
+
+msgid "Jun"
+msgstr "чер"
+
+msgid "Jul"
+msgstr "лип"
+
+msgid "Aug"
+msgstr "сер"
+
+msgid "Sep"
+msgstr "вер"
+
+msgid "Oct"
+msgstr "жов"
+
+msgid "Nov"
+msgstr "лис"
+
+msgid "Dec"
+msgstr "гру"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " Пнд Втр Сер Чтв Птн Сбт Ндл"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра №%d: слід використовувати матрицю "
+"дійсних значень.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr ""
+"%s: помилковий розмір вхідного параметра №%d: слід використовувати матрицю "
+"розмірності mx3 або mx6.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра №%d: %s має бути між %d та %d.\n"
+
+msgid "Month"
+msgstr "Місяць"
+
+msgid "Day"
+msgstr "День"
+
+msgid "Hour"
+msgstr "Година"
+
+msgid "Minute"
+msgstr "Хвилина"
+
+msgid "Second"
+msgstr "Секунда"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: помилковий тип вхідних параметрів.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr ""
+"%s: помилкові розмірності вхідних параметрів: розмірності мали бути "
+"однаковими.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: помилкова кількість вхідних параметрів.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: помилкова кількість вхідних параметрів: мало бути %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr "%s: помилкова кількість вхідних параметрів: мало бути %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра №%d: слід використовувати ціле "
+"значення.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+"%s: помилкова розмірність вхідних параметрів №%d і №%d: розмірність мала "
+"збігатися.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра №%d: слід використовувати вектор "
+"дійсних чисел.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr ""
+"%s: помилкова розмірність вхідного параметра №%d: слід використовувати "
+"значення між %d та %d.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+"%s: помилкові розмірності вхідних параметрів №%d та №%d: розмірності мали "
+"бути однаковими.\n"
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr "%s: перед викликом toc() слід викликати tic().\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+"%s: помилкова кількість вхідних параметрів: слід використовувати %d або %d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr ""
+"#%s: помилковий тип вхідного параметра №%d: слід використовувати сталу "
+"матрицю дійсних значень.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr ""
+"%s: Помилкове значення вхідного параметра №%d: слід використовувати «%s» або "
+"«%s».\n"
+
+msgid "Sat"
+msgstr "Сбт"
+
+msgid "Sun"
+msgstr "Ндл"
+
+msgid "Mon"
+msgstr "Пнд"
+
+msgid "Tue"
+msgstr "Втр"
+
+msgid "Wed"
+msgstr "Срд"
+
+msgid "Thu"
+msgstr "Чтв"
+
+msgid "Fri"
+msgstr "Птн"
+
+msgid "Saturday"
+msgstr "Субота"
+
+msgid "Sunday"
+msgstr "Неділя"
+
+msgid "Monday"
+msgstr "Понеділок"
+
+msgid "Tuesday"
+msgstr "Вівторок"
+
+msgid "Wednesday"
+msgstr "Середа"
+
+msgid "Thursday"
+msgstr "Четвер"
+
+msgid "Friday"
+msgstr "п'ятниця"
diff --git a/modules/time/locales/zh_CN.po b/modules/time/locales/zh_CN.po
new file mode 100755
index 000000000..c21304145
--- /dev/null
+++ b/modules/time/locales/zh_CN.po
@@ -0,0 +1,247 @@
+# Simplified Chinese translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2013-07-15 04:41+0000\n"
+"Last-Translator: Wesh <Unknown>\n"
+"Language-Team: Simplified Chinese <zh_CN@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: \n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr "%s:输入参数#%d的值错误:必须介于%d与%d之间。\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr "%s:输入参数值错误:应该为标量。\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s:发生一个错误。\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s:内存分配错误。\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s:不能读取第%d个输入参数。\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s:内存不足。\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr "%s:第%d个输入参数的值错误:应该为‘%s’。\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr "%s:第%d个输入参数的大小错误:应该为字符串。\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr "%s:输入参数#%d的值错误:必须 > %d。\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr "%s:第%d个输入参数的值错误:应该为实数。\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr "%s:输入参数#%d的类型错误:应该为整数或者'%s'。\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr "%s:输入参数#%d的值错误:应该为非负整数矩阵。\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr "%s:输入参数的类型错误:必须为标量。\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr "%s:输入参数的值错误:必须介于%d与%d之间。\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s:输入参数的数目错误。\n"
+
+msgid "Jan"
+msgstr "1月"
+
+msgid "Feb"
+msgstr "2月"
+
+msgid "Mar"
+msgstr "3月"
+
+msgid "Apr"
+msgstr "4月"
+
+msgid "May"
+msgstr "5月"
+
+msgid "Jun"
+msgstr "6月"
+
+msgid "Jul"
+msgstr "7月"
+
+msgid "Aug"
+msgstr "8月"
+
+msgid "Sep"
+msgstr "9月"
+
+msgid "Oct"
+msgstr "10月"
+
+msgid "Nov"
+msgstr "11月"
+
+msgid "Dec"
+msgstr "12月"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " 周一 周二 周三 周四 周五 周六 周日"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr "%s:输入参数#%d的类型错误:应该为实数矩阵。\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr "%s:输入参数#%d的大小错误:应该为一个 mx3 矩阵或 mx6矩阵。\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr "%s:输入参数#%d的值错误:%s必须介于%d与%d之间。\n"
+
+msgid "Month"
+msgstr "月"
+
+msgid "Day"
+msgstr "天"
+
+msgid "Hour"
+msgstr "小时"
+
+msgid "Minute"
+msgstr "分"
+
+msgid "Second"
+msgstr "秒"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s:输入参数的类型错误。\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr "%s:输入参数的大小错误:应该为同样的大小。\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s:输入参数数目错误。\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s:输入参数的数目出错:应该为%d个。\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr "%s:输入参数#%d的类型错误:应该为实数向量。\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr "%s:输入参数#%d的大小错误:必须介于%d与%d之间。\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr "%s:在调用toc()前必须先调用tic()。\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr "%s:输入参数数目错误:应该为%d个或%d个。\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr "%s:输入参数#%d的类型错误:应该为实数常量矩阵。\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr "%s:输入参数#%d的值错误:应该为'%s'或者'%s'。\n"
+
+msgid "Sat"
+msgstr "星期六"
+
+msgid "Sun"
+msgstr "星期日"
+
+msgid "Mon"
+msgstr "星期一"
+
+msgid "Tue"
+msgstr "星期二"
+
+msgid "Wed"
+msgstr "星期三"
+
+msgid "Thu"
+msgstr "星期四"
+
+msgid "Fri"
+msgstr "星期五"
+
+msgid "Saturday"
+msgstr "星期六"
+
+msgid "Sunday"
+msgstr "星期日"
+
+msgid "Monday"
+msgstr "星期一"
+
+msgid "Tuesday"
+msgstr "星期二"
+
+msgid "Wednesday"
+msgstr "星期三"
+
+msgid "Thursday"
+msgstr "星期四"
+
+msgid "Friday"
+msgstr "星期五"
diff --git a/modules/time/locales/zh_TW.po b/modules/time/locales/zh_TW.po
new file mode 100755
index 000000000..f98236155
--- /dev/null
+++ b/modules/time/locales/zh_TW.po
@@ -0,0 +1,247 @@
+# Traditional Chinese translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2011-09-01 09:40+0000\n"
+"Last-Translator: Scilab.team <Unknown>\n"
+"Language-Team: Traditional Chinese <zh_TW@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: \n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be between %d and %d.\n"
+msgstr "%s: 第 %d 個輸入參數數值錯誤: 應介於 %d 及 %d 之間.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Scalar values expected.\n"
+msgstr "%s: 輸入參數型態錯誤: 應為純量.\n"
+
+#, c-format
+msgid "%s: An error occurred.\n"
+msgstr "%s: 發生錯誤.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be > %d.\n"
+msgstr "%s: 第 %d 個輸入參數數值錯誤: 應 > %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: A real expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"
+msgstr "%s: 第 %d 個輸入參數型態錯誤: 應為整數或 '%s' .\n"
+
+#, c-format
+msgid ""
+"%s: Wrong values for input argument #%d: Non-negative integers expected.\n"
+msgstr "%s: 第 %d 個輸入參數數值錯誤: 應為非負整數.\n"
+
+#, c-format
+msgid "%s: Wrong type for input arguments: Must be scalars.\n"
+msgstr "%s: 輸入參數型態錯誤 : 應為純量\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument: Must be between %d and %d.\n"
+msgstr "%s: 輸入參數數值錯誤: 應介於 %d 及 %d 之間.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments.\n"
+msgstr "%s: 輸入參數數目錯誤.\n"
+
+msgid "Jan"
+msgstr "一月"
+
+msgid "Feb"
+msgstr "二月"
+
+msgid "Mar"
+msgstr "三月"
+
+msgid "Apr"
+msgstr "四月"
+
+msgid "May"
+msgstr "五月"
+
+msgid "Jun"
+msgstr "六月"
+
+msgid "Jul"
+msgstr "七月"
+
+msgid "Aug"
+msgstr "八月"
+
+msgid "Sep"
+msgstr "九月"
+
+msgid "Oct"
+msgstr "十月"
+
+msgid "Nov"
+msgstr "十一月"
+
+msgid "Dec"
+msgstr "十二月"
+
+msgid " M Tu W Th F Sat Sun"
+msgstr " 一 二 三 四 五 六 日"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real matrix expected.\n"
+msgstr "%s: 第 %d 個輸入參數型態錯誤: 應為實數矩陣.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"
+msgstr "%s: 第 %d 個輸入參數長度錯誤: 應為 m*3 matrix 或 a m*6 matrix .\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"
+msgstr "%s: 第 %d 個輸入參數數值錯誤: %s 應介於 %d 及 %d 之間.\n"
+
+msgid "Month"
+msgstr "月"
+
+msgid "Day"
+msgstr "天"
+
+msgid "Hour"
+msgstr "時"
+
+msgid "Minute"
+msgstr "分"
+
+msgid "Second"
+msgstr "秒"
+
+#, c-format
+msgid "%s: Wrong type for input arguments.\n"
+msgstr "%s: 輸入參數型態錯誤.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments: Same size expected.\n"
+msgstr "%s: 輸入參數長度錯誤: 長度應相同.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument.\n"
+msgstr "%s: 輸入參數數目錯誤.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument: %d expected.\n"
+msgstr "%s: 輸入參數數目錯誤: 應為 %d 個.\n"
+
+#, c-format
+msgid "%s: Wrong number of input argument(s): %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: An integer value expected.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: Real vector expected.\n"
+msgstr "%s: 第 %d 個輸入參數型態錯誤: 應為實數向量.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: Must be between %d and %d.\n"
+msgstr "%s: 第 %d 個輸入參數長度錯誤: 應介於 %d 及 %d 之間.\n"
+
+#, c-format
+msgid "%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: You must call tic() before calling toc().\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr "%s: 輸入參數數目錯誤: 應為 %d 或 %d 個.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: Real constant matrix expected.\n"
+msgstr "%s: Wrong type for input argument #%d: 應為實數常數矩陣.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"
+msgstr "%s: 第 %d 個輸入參數數值錯誤: 應為 '%s' 或 '%s' .\n"
+
+msgid "Sat"
+msgstr "星期六"
+
+msgid "Sun"
+msgstr "星期日"
+
+msgid "Mon"
+msgstr "星期一"
+
+msgid "Tue"
+msgstr "星期二"
+
+msgid "Wed"
+msgstr "星期三"
+
+msgid "Thu"
+msgstr "星期四"
+
+msgid "Fri"
+msgstr "星期五"
+
+msgid "Saturday"
+msgstr "星期六"
+
+msgid "Sunday"
+msgstr "星期日"
+
+msgid "Monday"
+msgstr "星期一"
+
+msgid "Tuesday"
+msgstr "星期二"
+
+msgid "Wednesday"
+msgstr "星期三"
+
+msgid "Thursday"
+msgstr "星期四"
+
+msgid "Friday"
+msgstr "星期五"
diff --git a/modules/time/macros/buildmacros.bat b/modules/time/macros/buildmacros.bat
new file mode 100755
index 000000000..c4e35ec40
--- /dev/null
+++ b/modules/time/macros/buildmacros.bat
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit; \ No newline at end of file
diff --git a/modules/time/macros/buildmacros.sce b/modules/time/macros/buildmacros.sce
new file mode 100755
index 000000000..06666846d
--- /dev/null
+++ b/modules/time/macros/buildmacros.sce
@@ -0,0 +1,12 @@
+//------------------------------------
+// Pierre MARECHAL
+// Scilab team
+// Copyright INRIA
+// Date : décembre 2005
+//------------------------------------
+if (isdef("genlib") == %f) then
+ exec(SCI+"/modules/functions/scripts/buildmacros/loadgenlib.sce");
+end
+//------------------------------------
+genlib("timelib","SCI/modules/time/macros",%f,%t);
+//------------------------------------
diff --git a/modules/time/macros/calendar.bin b/modules/time/macros/calendar.bin
new file mode 100755
index 000000000..72a400d49
--- /dev/null
+++ b/modules/time/macros/calendar.bin
Binary files differ
diff --git a/modules/time/macros/calendar.sci b/modules/time/macros/calendar.sci
new file mode 100755
index 000000000..0536a9302
--- /dev/null
+++ b/modules/time/macros/calendar.sci
@@ -0,0 +1,54 @@
+//------------------------------------------------------------------------
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Allan CORNET
+//
+// 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
+//------------------------------------------------------------------------
+function listcal = calendar(varargin)
+ lhs=argn(1);
+ rhs=argn(2);
+
+ c=[0,0,0];
+
+ select rhs
+ case 0
+ ct=getdate();
+ c=[ct(1),ct(2),1]
+ break
+ case 2
+ Y=varargin(1);
+ M=varargin(2);
+ if (size(Y) == [1,1]) & (size(M) == [1,1]) then
+ else
+ error(msprintf(gettext("%s: Wrong type for input arguments: Must be scalars.\n"),"calendar"));
+ end
+ if (M < 1) | (M > 12) then error(msprintf(gettext("%s: Wrong value for input argument: Must be between %d and %d.\n"),"calendar",1,12));,end
+ c=[Y,M,1];
+ break
+ else
+ error(msprintf(gettext("%s: Wrong number of input arguments.\n"),"calendar"));
+ end
+
+
+ mths = [gettext("Jan"); ..
+ gettext("Feb"); ..
+ gettext("Mar"); ..
+ gettext("Apr"); ..
+ gettext("May"); ..
+ gettext("Jun"); ..
+ gettext("Jul"); ..
+ gettext("Aug"); ..
+ gettext("Sep"); ..
+ gettext("Oct"); ..
+ gettext("Nov"); ..
+ gettext("Dec")];
+
+ mth = mths(c(:,2),:);
+ cal=Calendar(c(1),c(2));
+ listcal=list(sprintf("%s %d",mth,c(1)),gettext(" M Tu W Th F Sat Sun"),cal);
+endfunction
+//------------------------------------------------------------------------
diff --git a/modules/time/macros/cleanmacros.bat b/modules/time/macros/cleanmacros.bat
new file mode 100755
index 000000000..5079dfd71
--- /dev/null
+++ b/modules/time/macros/cleanmacros.bat
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL
+@del lib 2>NUL
+@del names 2>NUL \ No newline at end of file
diff --git a/modules/time/macros/clock.bin b/modules/time/macros/clock.bin
new file mode 100755
index 000000000..13f6c29df
--- /dev/null
+++ b/modules/time/macros/clock.bin
Binary files differ
diff --git a/modules/time/macros/clock.sci b/modules/time/macros/clock.sci
new file mode 100755
index 000000000..7e21bdfa4
--- /dev/null
+++ b/modules/time/macros/clock.sci
@@ -0,0 +1,16 @@
+//------------------------------------------------------------------------
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Pierre MARECHAL
+//
+// 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
+
+// Return the current date and time as serial number
+//------------------------------------------------------------------------
+
+function t=clock()
+ t=datevec(datenum());
+endfunction
diff --git a/modules/time/macros/date.bin b/modules/time/macros/date.bin
new file mode 100755
index 000000000..e509d1192
--- /dev/null
+++ b/modules/time/macros/date.bin
Binary files differ
diff --git a/modules/time/macros/date.sci b/modules/time/macros/date.sci
new file mode 100755
index 000000000..69adfe646
--- /dev/null
+++ b/modules/time/macros/date.sci
@@ -0,0 +1,25 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Pierre MARECHAL
+//
+// 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
+
+function s=date()
+ w=getdate();
+ month=[gettext("Jan"), ..
+ gettext("Feb"), ..
+ gettext("Mar"), ..
+ gettext("Apr"), ..
+ gettext("May"), ..
+ gettext("Jun"), ..
+ gettext("Jul"), ..
+ gettext("Aug"), ..
+ gettext("Sep"), ..
+ gettext("Oct"), ..
+ gettext("Nov"), ..
+ gettext("Dec")];
+ s = msprintf("%02d-%s-%04d",w(6),month(w(2)),w(1));
+endfunction
diff --git a/modules/time/macros/datenum.bin b/modules/time/macros/datenum.bin
new file mode 100755
index 000000000..4fbfe8dfa
--- /dev/null
+++ b/modules/time/macros/datenum.bin
Binary files differ
diff --git a/modules/time/macros/datenum.sci b/modules/time/macros/datenum.sci
new file mode 100755
index 000000000..8aaa7b3b5
--- /dev/null
+++ b/modules/time/macros/datenum.sci
@@ -0,0 +1,192 @@
+//------------------------------------------------------------------------
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Pierre MARECHAL
+//
+// 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
+
+//
+// Convert to serial date number
+//------------------------------------------------------------------------
+
+function n=datenum(varargin)
+
+ lhs=argn(1);
+ rhs=argn(2);
+
+ select rhs
+ case 0
+ Date = getdate();
+
+ n = ymdhmns_to_scalar(Date(1),..
+ Date(2),..
+ Date(6),..
+ Date(7),..
+ Date(8),..
+ Date(9));
+
+ break
+
+ case 1
+
+ DateIn = varargin(1);
+
+ // Checks
+
+ if type(DateIn)<> 1 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: Real matrix expected.\n"),"datenum",1));
+ end
+
+ [nr,nc] = size(DateIn);
+
+ if (nc <> 3) & (nc <> 6) then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: m*3 matrix or a m*6 matrix expected.\n"),"datenum",1));
+ end
+
+ if min(DateIn(:,2))<1 | max(DateIn(:,2))>12 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"),"datenum",1,gettext("Month"),1,12));
+ end
+
+ if min(DateIn(:,3))<1 | max(DateIn(:,3))>31 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"),"datenum",1,gettext("Day"),1,31));
+ end
+
+ if nc == 6 then
+
+ if min(DateIn(:,4))<0 | max(DateIn(:,4))>23 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"),"datenum",1,gettext("Hour"),0,23));
+ end
+
+ if min(DateIn(:,5))<0 | max(DateIn(:,5))>59 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"),"datenum",1,gettext("Minute"),0,59));
+ end
+
+ if min(DateIn(:,6))<0 | max(DateIn(:,6))>=60 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: %s must be between %d and %d.\n"),"datenum",1,gettext("Second"),0,59));
+ end
+
+ end
+
+ if nc == 3 then
+ n = ymdhmns_to_scalar(DateIn(:,1),DateIn(:,2),DateIn(:,3),zeros(nr),zeros(nr),zeros(nr));
+ else
+ n = ymdhmns_to_scalar(DateIn(:,1),DateIn(:,2),DateIn(:,3),DateIn(:,4),DateIn(:,5),DateIn(:,6));
+ end
+ break
+
+ case 3
+
+ YearIn = varargin(1);
+ MonthIn = varargin(2);
+ DayIn = varargin(3);
+
+ // checks
+
+ if (type(YearIn)<> 1) | (type(MonthIn)<> 1) | (type(DayIn)<> 1) then
+ error(msprintf(gettext("%s: Wrong type for input arguments.\n"),"datenum"));
+ end
+
+ if (size(YearIn) <> size(MonthIn)) | (size(YearIn) <> size(DayIn)) then
+ error(msprintf(gettext("%s: Wrong size for input arguments: Same size expected.\n"),"datenum"));
+ end
+
+ if min(MonthIn)<1 | max(MonthIn)>12 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"datenum",2,1,12));
+ end
+
+ if min(DayIn)<1 | max(DayIn)>31 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"datenum",3,1,31));
+ end
+
+ [nr,nc] = size(YearIn);
+ n = ymdhmns_to_scalar(YearIn,MonthIn,DayIn,zeros(nr,nc),zeros(nr,nc),zeros(nr,nc));
+
+ break
+
+ case 6
+
+ YearIn = varargin(1);
+ MonthIn = varargin(2);
+ DayIn = varargin(3);
+ HourIn = varargin(4);
+ MinIn = varargin(5);
+ SecIn = varargin(6);
+
+ // checks
+
+ if (type(YearIn) <> 1) | ..
+ (type(MonthIn)<> 1) | ..
+ (type(DayIn) <> 1) | ..
+ (type(HourIn) <> 1) | ..
+ (type(MinIn) <> 1) | ..
+ (type(SecIn) <> 1) then
+ error(msprintf(gettext("%s: Wrong type for input arguments.\n"),"datenum"));
+ end
+
+ if (size(YearIn) <> size(MonthIn)) | ..
+ (size(YearIn) <> size(DayIn)) | ..
+ (size(YearIn) <> size(HourIn)) | ..
+ (size(YearIn) <> size(MinIn)) | ..
+ (size(YearIn) <> size(SecIn)) then
+ error(msprintf(gettext("%s: Wrong size for input arguments: Same size expected.\n"),"datenum"));
+ end
+
+ if min(MonthIn)<1 | max(MonthIn)>12 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"datenum",2,1,12));
+ end
+
+ if min(DayIn)<1 | max(DayIn)>31 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"datenum",3,1,31));
+ end
+
+ if min(HourIn)<0 | max(HourIn)>23 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"datenum",4,0,23));
+ end
+
+ if min(MinIn)<0 | max(MinIn)>59 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"datenum",5,0,59));
+ end
+
+ if min(SecIn)<0 | max(SecIn)>=60 then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"datenum",6,0,59));
+ end
+
+ n = ymdhmns_to_scalar(YearIn,MonthIn,DayIn,HourIn,MinIn,SecIn);
+
+ break
+ else
+ error(msprintf(gettext("%s: Wrong number of input argument.\n"),"datenum"));
+ end
+
+
+endfunction
+
+
+function scalaire=ymdhmns_to_scalar (annee,mois,jour,heure,mn,seconde)
+
+ decimal_part = (seconde*(1/(24*3600)))+(mn*(1/(24*60)))+(heure*(1/24));
+
+ // convert of month and day
+ integer_part = jour + floor((mois * 3057 - 3007) / 100);
+
+ // On retranche 1 si le mois est au dela de février
+ integer_part = integer_part + ((mois < 3) - 1);
+
+ // On retranche encore 1 si le mois est au dela de février et année non bissextile
+ integer_part = integer_part + (((mois < 3)|(isLeapYear(annee))) -1);
+
+ // Convertion des année
+ leap_year_case = annee * 365 + (annee / 4) - floor(annee / 100) + floor(annee / 400);
+ not_leap_year_case = annee * 365 + floor(annee/4) + 1 - floor(annee / 100) + floor(annee / 400);
+
+ leap_year_case(~isLeapYear(annee)) = 0;
+ not_leap_year_case(isLeapYear(annee)) = 0;
+
+ integer_part = integer_part + leap_year_case + not_leap_year_case;
+
+ scalaire = integer_part+decimal_part;
+
+endfunction
diff --git a/modules/time/macros/datevec.bin b/modules/time/macros/datevec.bin
new file mode 100755
index 000000000..e99aabad2
--- /dev/null
+++ b/modules/time/macros/datevec.bin
Binary files differ
diff --git a/modules/time/macros/datevec.sci b/modules/time/macros/datevec.sci
new file mode 100755
index 000000000..a847ff2c0
--- /dev/null
+++ b/modules/time/macros/datevec.sci
@@ -0,0 +1,100 @@
+//------------------------------------------------------------------------
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Pierre MARECHAL
+//
+// 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
+
+// Copyright INRIA
+// Date : 28 Dec 2005
+//------------------------------------------------------------------------
+
+function [Y,M,D,h,m,s] = datevec(N)
+
+ lhs=argn(1);
+ rhs=argn(2);
+
+ common_year = [0,31,59,90,120,151,181,212,243,273,304,334,365];
+ leap_year = [0,31,60,91,121,152,182,213,244,274,305,335,366];
+
+ if rhs<>1 then
+ error(msprintf(gettext("%s: Wrong number of input argument: %d expected.\n"),"datevec",1));
+ end
+
+ if type(N) <> 1 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: Real matrix expected.\n"),"datevec",1));
+ end
+
+ [nr,nc] = size(N);
+
+ if nc == 1 then
+ common_year = common_year';
+ leap_year = leap_year';
+ end
+
+ // for the moment : hour, minute, second
+ // =========================================================================
+
+ second = 86400*(N-floor(N));
+ hour = floor(second/3600);
+ second = second - 3600*hour;
+ minute = floor(second/60);
+ second = second - 60*minute;
+
+ // Now, the year
+ // =========================================================================
+
+ N = floor(N);
+ Year = floor(N/365.2425);
+
+ temp = N - (365.0*Year + ceil(0.25*Year)- ceil(0.01*Year) + ceil(0.0025*Year));
+
+ // On retranche 1 si la valeur est inferieur à 0
+
+ mask = (temp <= 0);
+ Year(mask) = Year(mask)-1;
+
+ N(mask) = N(mask) - (365.0*Year(mask) + ceil(0.25*Year(mask)) - ceil(0.01*Year(mask)) + ceil(0.0025*Year(mask)));
+ N(~mask) = temp(~mask);
+
+ // ... and the month
+ // =========================================================================
+
+ Month = int (N/29);
+
+ // construction de la matrice
+
+ month_day_mat = ones(nr,nc);
+
+ month_day_mat(isLeapYear(Year)) = leap_year(Month(isLeapYear(Year))+1);
+ month_day_mat(~isLeapYear(Year)) = common_year(Month(~isLeapYear(Year))+1);
+
+ Month( N>month_day_mat ) = Month( N>month_day_mat )+1;
+
+ Day = ones(nr,nc);
+
+ month_day_mat(isLeapYear(Year)) = leap_year(Month(isLeapYear(Year)));
+ month_day_mat(~isLeapYear(Year)) = common_year(Month(~isLeapYear(Year)));
+
+ Day = N - month_day_mat;
+
+ if (lhs==1) then
+ Y(:,1) = matrix(Year ,nr*nc , 1);
+ Y(:,2) = matrix(Month ,nr*nc , 1);
+ Y(:,3) = matrix(Day ,nr*nc , 1);
+ Y(:,4) = matrix(hour ,nr*nc , 1);
+ Y(:,5) = matrix(minute,nr*nc , 1);
+ Y(:,6) = matrix(second,nr*nc , 1);
+ else
+ Y = Year;
+ M = Month;
+ D = Day;
+ h = hour;
+ m = minute;
+ s = second;
+ end
+
+endfunction
diff --git a/modules/time/macros/eomday.bin b/modules/time/macros/eomday.bin
new file mode 100755
index 000000000..d5c31583c
--- /dev/null
+++ b/modules/time/macros/eomday.bin
Binary files differ
diff --git a/modules/time/macros/eomday.sci b/modules/time/macros/eomday.sci
new file mode 100755
index 000000000..9429159b2
--- /dev/null
+++ b/modules/time/macros/eomday.sci
@@ -0,0 +1,49 @@
+//------------------------------------------------------------------------------------------------------------
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Pierre MARECHAL
+//
+// 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
+
+//
+// Returns the last day of the year and month by corresponding element of Matrix Y and M
+//------------------------------------------------------------------------------------------------------------
+
+function E=eomday(Y,M)
+
+ rhs=argn(2);
+
+ if rhs <> 2 then
+ error(msprintf(gettext("%s: Wrong number of input argument(s): %d expected.\n"),"eomday", 2));
+ end
+
+ common_year = [31,28,31,30,31,30,31,31,30,31,30,31];
+ leap_year = [31,29,31,30,31,30,31,31,30,31,30,31];
+
+ if type(Y) <> 1 | ~isreal(Y) | int(Y) <> Y then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: An integer value expected.\n"), "eomday", 1));
+ end
+
+ if type(M) <> 1 | ~isreal(M) | int(M) <> M then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: An integer value expected.\n"), "eomday", 2))
+ end
+
+ if or(size(Y) <> size(M)) then
+ error(msprintf(gettext("%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"),"eomday", 1, 2));
+ end
+
+ if (min(M) < 1) | (max(M) > 12) then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"eomday",2,1,12));
+ end
+
+ [nr,nc] = size(M);
+ E = zeros(1, nr*nc);
+ isleapyear = isLeapYear(Y);
+ E(isleapyear) = leap_year(M(isleapyear));
+ E(~isleapyear) = common_year(M(~isleapyear));
+ E = matrix(E,nr,nc);
+
+endfunction
diff --git a/modules/time/macros/etime.bin b/modules/time/macros/etime.bin
new file mode 100755
index 000000000..b0b677484
--- /dev/null
+++ b/modules/time/macros/etime.bin
Binary files differ
diff --git a/modules/time/macros/etime.sci b/modules/time/macros/etime.sci
new file mode 100755
index 000000000..f2493f4f3
--- /dev/null
+++ b/modules/time/macros/etime.sci
@@ -0,0 +1,91 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Vincent Couvert
+//
+// 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
+
+function t=etime(t1,t0)
+
+ // returns the time in seconds that has elapsed between vectors t1 and t0
+ // t1 and t0 must be six elements long, in the format:
+ // t = [Year Month Day Hour Minute Second.Milliseconds]
+ // or, 10 elements long, in the format returned by getdate()
+ // t = [Year Month ISO_8601_week_number Julian_day Week_Day Day Hour Minute Second Millisecond]
+ // in this case ISO_8601_week_number Julian_day Week_Day are ignored
+ // t1 and t0 can also be matrices having each line equal to a vector described above
+
+
+ if type(t1)<>1 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: Real vector expected.\n"),"etime",1));
+ end
+ if type(t0)<>1 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: Real vector expected.\n"),"etime",2));
+ end
+ if and(size(t1,2)<>[6,10]) then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: Must be between %d and %d.\n"),"etime",1,6,10));
+ end
+ if and(size(t0,2)<>[6,10]) then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: Must be between %d and %d.\n"),"etime",2,6,10));
+ end
+
+ if size(t1,"*")<>size(t0,"*") then
+ error(msprintf(gettext("%s: Wrong size for input arguments #%d and #%d: Same size expected.\n"),"etime"), 1, 2);
+ end
+
+ if size(t1,2)==10 then
+ t1(:,3:5)=[]
+ end
+ if size(t0,2)==10 then
+ t0(:,3:5)=[]
+ end
+
+ // Cumulative days per month in a nonleap year
+ cdm = [0,31,59,90,120,151,181,212,243,273,304,334]
+
+ t=0
+
+ for k=1:2
+ if k==1 then
+ tcur=t1
+ else
+ tcur=t0
+ end
+
+ Year=tcur(:,1)
+ Month=tcur(:,2)
+ Day=tcur(:,3)
+
+ // Make sure month is in the range 1 to 12
+ Month(Month<1)=1
+ for kM=1:size(Month,"*")
+ if Month(kM) > 12 then
+ Year(kM) = Year(kM) + (Month(kM)-1)/12;
+ Month(kM) = fix((Month(kM)-1) / 12) + 1;
+ end
+ CDM=cdm(Month(kM))
+ end
+
+ tsec = 365.*Year + ceil(Year/4) - ceil(Year/100) + ceil(Year/400) + CDM + Day;
+
+ for kM=1:size(Month,"*")
+ if Month > 2 then
+ iy=fix(Year)
+ if fix(iy/4).*4 == iy & fix(iy/100).*100 <> iy | fix(iy/400).*400 == iy then
+ tsec = tsec+1;
+ end
+ end
+ end
+ if k==1 then
+ t=tsec
+ else
+ t=t-tsec
+ end
+ end
+ t=86400*t+t1(:,4)*3600-t0(:,4)*3600+t1(:,5)*60-t0(:,5)*60+t1(:,6)-t0(:,6)
+ if size(t1,2)==7 then
+ t=t+(t1(:,7)-t0(:,7))*1e-3
+ end
+endfunction
diff --git a/modules/time/macros/isLeapYear.bin b/modules/time/macros/isLeapYear.bin
new file mode 100755
index 000000000..a5d13697c
--- /dev/null
+++ b/modules/time/macros/isLeapYear.bin
Binary files differ
diff --git a/modules/time/macros/isLeapYear.sci b/modules/time/macros/isLeapYear.sci
new file mode 100755
index 000000000..947c12677
--- /dev/null
+++ b/modules/time/macros/isLeapYear.sci
@@ -0,0 +1,28 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Pierre MARECHAL
+//
+// 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
+
+// Return True if year is a leap year, otherwise False
+
+// Si l'année est divisible par 4 et non par 100 => Année bissextile
+// Si l'année est divisible par 400 => Année bissextile
+// =============================================================================
+
+function Rep=isLeapYear(year)
+
+ lhs=argn(1);
+ rhs=argn(2);
+
+ if rhs==1 & type(year)==1 then
+ Rep = ((modulo(year,100)<>0) & (modulo(year,4)==0)) | (modulo(year,400)== 0);
+ else
+ error(msprintf(gettext("%s: Wrong number of input argument: %d expected.\n"),"isLeapYear",1));
+ end
+
+endfunction
diff --git a/modules/time/macros/lib b/modules/time/macros/lib
new file mode 100755
index 000000000..68d0fc616
--- /dev/null
+++ b/modules/time/macros/lib
Binary files differ
diff --git a/modules/time/macros/names b/modules/time/macros/names
new file mode 100755
index 000000000..2e56d6fcc
--- /dev/null
+++ b/modules/time/macros/names
@@ -0,0 +1,12 @@
+calendar
+clock
+date
+datenum
+datevec
+eomday
+etime
+isLeapYear
+now
+tic
+toc
+weekday
diff --git a/modules/time/macros/now.bin b/modules/time/macros/now.bin
new file mode 100755
index 000000000..eb02c1994
--- /dev/null
+++ b/modules/time/macros/now.bin
Binary files differ
diff --git a/modules/time/macros/now.sci b/modules/time/macros/now.sci
new file mode 100755
index 000000000..eb94fc9cc
--- /dev/null
+++ b/modules/time/macros/now.sci
@@ -0,0 +1,17 @@
+//------------------------------------------------------------------------
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Pierre MARECHAL
+//
+// 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
+
+//
+// Return the current date and time as serial number
+//------------------------------------------------------------------------
+
+function t=now()
+ t=datenum();
+endfunction
diff --git a/modules/time/macros/tic.bin b/modules/time/macros/tic.bin
new file mode 100755
index 000000000..ce75882fb
--- /dev/null
+++ b/modules/time/macros/tic.bin
Binary files differ
diff --git a/modules/time/macros/tic.sci b/modules/time/macros/tic.sci
new file mode 100755
index 000000000..ca4c81c95
--- /dev/null
+++ b/modules/time/macros/tic.sci
@@ -0,0 +1,20 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - V.C & A.C
+//
+// 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
+
+function tic()
+ // tic() start a stopwatch timer.
+ // The sequence of commands tic(), operation, toc()
+ // prints the number of milliseconds required for the operation.
+
+
+ global TICTOC;
+
+ TICTOC=getdate();
+
+endfunction
diff --git a/modules/time/macros/toc.bin b/modules/time/macros/toc.bin
new file mode 100755
index 000000000..72bfd4d8d
--- /dev/null
+++ b/modules/time/macros/toc.bin
Binary files differ
diff --git a/modules/time/macros/toc.sci b/modules/time/macros/toc.sci
new file mode 100755
index 000000000..1ebbb61b6
--- /dev/null
+++ b/modules/time/macros/toc.sci
@@ -0,0 +1,24 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - V.C , A.C
+//
+// 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
+
+function tictoctime=toc()
+
+ // toc() read the stopwatch timer.
+ // toc(), by itself, prints the elapsed time (in milliseconds) since tic() was used.
+
+
+ global TICTOC;
+
+ if isempty(TICTOC) then
+ error(msprintf(gettext("%s: You must call tic() before calling toc().\n"),"toc"));
+ end
+
+ tictoctime=etime(getdate(),TICTOC);
+
+endfunction
diff --git a/modules/time/macros/weekday.bin b/modules/time/macros/weekday.bin
new file mode 100755
index 000000000..8e02771c0
--- /dev/null
+++ b/modules/time/macros/weekday.bin
Binary files differ
diff --git a/modules/time/macros/weekday.sci b/modules/time/macros/weekday.sci
new file mode 100755
index 000000000..1855c1f7a
--- /dev/null
+++ b/modules/time/macros/weekday.sci
@@ -0,0 +1,118 @@
+//------------------------------------------------------------------------
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005 - INRIA - Pierre MARECHAL
+//
+// 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
+
+//
+// Return day of week
+// Maurice Kraitchik Algorithm
+//------------------------------------------------------------------------
+
+function [N,S] = weekday(D,form)
+
+ lhs=argn(1);
+ rhs=argn(2);
+
+ // checkings
+
+ if rhs < 1 | rhs > 2 then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d or %d expected.\n"),"weekday",1,2));
+ end
+
+ if type(D) <> 1 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: Real constant matrix expected.\n"),"weekday",1));
+ end
+
+ if (rhs==2) & (form <> "long") & (form <> "short") then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: ''%s'' or ''%s'' expected.\n"),"weekday",2,"long","short"));
+ end
+
+ // some definitions
+
+ common_year = [0,31,59,90,120,151,181,212,243,273,304,334,365];
+ leap_year = [0,31,60,91,121,152,182,213,244,274,305,335,366];
+ week_numbers = [7,1,2,3,4,5,6];
+
+ week_strings_short = [gettext("Sat"), ..
+ gettext("Sun"), ..
+ gettext("Mon"), ..
+ gettext("Tue"), ..
+ gettext("Wed"), ..
+ gettext("Thu"), ..
+ gettext("Fri")];
+
+ week_strings_long = [gettext("Saturday"), ..
+ gettext("Sunday") , ..
+ gettext("Monday") , ..
+ gettext("Tuesday") , ..
+ gettext("Wednesday") , ..
+ gettext("Thursday") , ..
+ gettext("Friday") , ..
+ gettext("Jan")];
+
+
+ if rhs==2 then
+ if form == "long" then
+ week_strings = week_strings_long;
+ else
+ week_strings = week_strings_short;
+ end
+ else
+ week_strings = week_strings_short;
+ end
+
+
+ // Algorithm
+
+ [nr,nc] = size(D);
+
+ if nc == 1 then
+ common_year = common_year';
+ leap_year = leap_year';
+ end
+
+ month_day_mat = ones(nr,nc);
+
+ m = ones(nr,nc);
+ y = ones(nr,nc);
+ d = ones(nr,nc);
+
+ Y = floor(D/365.2425);
+ temp = D - (365.0*Y + ceil(0.25*Y)- ceil(0.01*Y) + ceil(0.0025*Y));
+
+ mask = (temp <= 0);
+ Y(mask) = Y(mask) - 1;
+ D(mask) = D(mask) - (365.0*Y(mask) + ceil(0.25*Y(mask)) - ceil(0.01*Y(mask)) + ceil(0.0025*Y(mask)));
+ D(~mask) = temp(~mask)
+
+ M = int(D/29);
+
+ month_day_mat(isLeapYear(Y)) = leap_year(M(isLeapYear(Y))+1);
+ month_day_mat(~isLeapYear(Y)) = common_year(M(~isLeapYear(Y))+1);
+
+ M( D>month_day_mat ) = M( D>month_day_mat )+1;
+
+ month_day_mat(isLeapYear(Y)) = leap_year(M(isLeapYear(Y)));
+ month_day_mat(~isLeapYear(Y)) = common_year(M(~isLeapYear(Y)));
+
+ d = D - month_day_mat;
+
+ m(M==1) = 13;
+ m(M==2) = 14;
+
+ y( M==1 | M==2 ) = Y( M==1 | M==2 ) - 1;
+
+ m( M<>1 & M<>2 ) = M( M<>1 & M<>2 );
+ y( M<>1 & M<>2 ) = Y( M<>1 & M<>2 );
+
+ n = modulo( (d + floor(2*m) + floor(3*(m+1)/5) + y + floor(y/4) - floor(y/100) + floor(y/400) + 2) , 7 );
+
+ N = matrix( week_numbers(n+1) , nr, nc );
+ S = matrix( week_strings(n+1) , nr, nc );
+
+endfunction
diff --git a/modules/time/sci_gateway/c/.deps/.dirstamp b/modules/time/sci_gateway/c/.deps/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/time/sci_gateway/c/.deps/.dirstamp
diff --git a/modules/time/sci_gateway/c/.deps/libscitime_la-gw_time.Plo b/modules/time/sci_gateway/c/.deps/libscitime_la-gw_time.Plo
new file mode 100755
index 000000000..dd9d15410
--- /dev/null
+++ b/modules/time/sci_gateway/c/.deps/libscitime_la-gw_time.Plo
@@ -0,0 +1,273 @@
+sci_gateway/c/libscitime_la-gw_time.lo: sci_gateway/c/gw_time.c \
+ /usr/include/stdc-predef.h includes/gw_time.h includes/dynlib_time.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/api_scilab/includes/api_common.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/api_scilab/includes/api_double.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/api_scilab/includes/api_int.h \
+ ../../modules/api_scilab/includes/api_poly.h \
+ ../../modules/api_scilab/includes/api_sparse.h \
+ ../../modules/api_scilab/includes/api_boolean.h \
+ ../../modules/api_scilab/includes/api_boolean_sparse.h \
+ ../../modules/api_scilab/includes/api_pointer.h \
+ ../../modules/api_scilab/includes/api_list.h \
+ ../../modules/api_scilab/includes/api_error.h \
+ ../../modules/api_scilab/includes/api_handle.h \
+ ../../modules/api_scilab/includes/api_optional.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/api_scilab/includes/api_hypermat.h \
+ ../../modules/core/includes/core_math.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/core/includes/callFunctionFromGateway.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_time.h:
+
+includes/dynlib_time.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/api_scilab/includes/api_common.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/api_scilab/includes/api_double.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/api_scilab/includes/api_string.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/api_scilab/includes/api_int.h:
+
+../../modules/api_scilab/includes/api_poly.h:
+
+../../modules/api_scilab/includes/api_sparse.h:
+
+../../modules/api_scilab/includes/api_boolean.h:
+
+../../modules/api_scilab/includes/api_boolean_sparse.h:
+
+../../modules/api_scilab/includes/api_pointer.h:
+
+../../modules/api_scilab/includes/api_list.h:
+
+../../modules/api_scilab/includes/api_error.h:
+
+../../modules/api_scilab/includes/api_handle.h:
+
+../../modules/api_scilab/includes/api_optional.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/api_scilab/includes/api_hypermat.h:
+
+../../modules/core/includes/core_math.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/core/includes/callFunctionFromGateway.h:
diff --git a/modules/time/sci_gateway/c/.deps/libscitime_la-sci_calendar.Plo b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_calendar.Plo
new file mode 100755
index 000000000..89d602153
--- /dev/null
+++ b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_calendar.Plo
@@ -0,0 +1,226 @@
+sci_gateway/c/libscitime_la-sci_calendar.lo: sci_gateway/c/sci_calendar.c \
+ /usr/include/stdc-predef.h includes/gw_time.h includes/dynlib_time.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/IsAScalar.h \
+ ../../modules/core/includes/transposeMatrix.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_time.h:
+
+includes/dynlib_time.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/IsAScalar.h:
+
+../../modules/core/includes/transposeMatrix.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/time/sci_gateway/c/.deps/libscitime_la-sci_getdate.Plo b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_getdate.Plo
new file mode 100755
index 000000000..f92886f32
--- /dev/null
+++ b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_getdate.Plo
@@ -0,0 +1,314 @@
+sci_gateway/c/libscitime_la-sci_getdate.lo: sci_gateway/c/sci_getdate.c \
+ /usr/include/stdc-predef.h /usr/include/stdio.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h includes/gw_time.h \
+ includes/dynlib_time.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h src/c/getdate.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/core/includes/stack-c.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/api_scilab/includes/api_common.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/api_scilab/includes/api_double.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/api_scilab/includes/api_string.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/api_scilab/includes/api_int.h \
+ ../../modules/api_scilab/includes/api_poly.h \
+ ../../modules/api_scilab/includes/api_sparse.h \
+ ../../modules/api_scilab/includes/api_boolean.h \
+ ../../modules/api_scilab/includes/api_boolean_sparse.h \
+ ../../modules/api_scilab/includes/api_pointer.h \
+ ../../modules/api_scilab/includes/api_list.h \
+ ../../modules/api_scilab/includes/api_error.h \
+ ../../modules/api_scilab/includes/api_handle.h \
+ ../../modules/api_scilab/includes/api_optional.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/api_scilab/includes/api_hypermat.h \
+ ../../modules/core/includes/core_math.h \
+ ../../modules/core/includes/sci_types.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+includes/gw_time.h:
+
+includes/dynlib_time.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+src/c/getdate.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/core/includes/stack-c.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/values.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/api_scilab/includes/api_common.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/api_scilab/includes/api_double.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/api_scilab/includes/api_string.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/api_scilab/includes/api_int.h:
+
+../../modules/api_scilab/includes/api_poly.h:
+
+../../modules/api_scilab/includes/api_sparse.h:
+
+../../modules/api_scilab/includes/api_boolean.h:
+
+../../modules/api_scilab/includes/api_boolean_sparse.h:
+
+../../modules/api_scilab/includes/api_pointer.h:
+
+../../modules/api_scilab/includes/api_list.h:
+
+../../modules/api_scilab/includes/api_error.h:
+
+../../modules/api_scilab/includes/api_handle.h:
+
+../../modules/api_scilab/includes/api_optional.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/api_scilab/includes/api_hypermat.h:
+
+../../modules/core/includes/core_math.h:
+
+../../modules/core/includes/sci_types.h:
diff --git a/modules/time/sci_gateway/c/.deps/libscitime_la-sci_realtime.Plo b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_realtime.Plo
new file mode 100755
index 000000000..9864488ce
--- /dev/null
+++ b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_realtime.Plo
@@ -0,0 +1,201 @@
+sci_gateway/c/libscitime_la-sci_realtime.lo: sci_gateway/c/sci_realtime.c \
+ /usr/include/stdc-predef.h includes/gw_time.h includes/dynlib_time.h \
+ includes/realtime.h ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/values.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_time.h:
+
+includes/dynlib_time.h:
+
+includes/realtime.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/usr/include/values.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
diff --git a/modules/time/sci_gateway/c/.deps/libscitime_la-sci_sleep.Plo b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_sleep.Plo
new file mode 100755
index 000000000..f2e0a99c3
--- /dev/null
+++ b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_sleep.Plo
@@ -0,0 +1,236 @@
+sci_gateway/c/libscitime_la-sci_sleep.lo: sci_gateway/c/sci_sleep.c \
+ /usr/include/stdc-predef.h ../../modules/core/includes/machine.h \
+ /usr/include/unistd.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
+ /usr/include/x86_64-linux-gnu/bits/environments.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \
+ /usr/include/x86_64-linux-gnu/bits/unistd.h includes/gw_time.h \
+ includes/dynlib_time.h ../../modules/core/includes/stack-c.h \
+ /usr/include/string.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/values.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/unistd.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix_opt.h:
+
+/usr/include/x86_64-linux-gnu/bits/environments.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/confname.h:
+
+/usr/include/getopt.h:
+
+/usr/include/x86_64-linux-gnu/bits/unistd.h:
+
+includes/gw_time.h:
+
+includes/dynlib_time.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/usr/include/values.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/time/sci_gateway/c/.deps/libscitime_la-sci_timer.Plo b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_timer.Plo
new file mode 100755
index 000000000..6608335fe
--- /dev/null
+++ b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_timer.Plo
@@ -0,0 +1,221 @@
+sci_gateway/c/libscitime_la-sci_timer.lo: sci_gateway/c/sci_timer.c \
+ /usr/include/stdc-predef.h includes/gw_time.h includes/dynlib_time.h \
+ includes/timer.h ../../modules/core/includes/machine.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/xlocale.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/values.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_time.h:
+
+includes/dynlib_time.h:
+
+includes/timer.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/xlocale.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/usr/include/values.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
diff --git a/modules/time/sci_gateway/c/.deps/libscitime_la-sci_xpause.Plo b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_xpause.Plo
new file mode 100755
index 000000000..cc80cc62b
--- /dev/null
+++ b/modules/time/sci_gateway/c/.deps/libscitime_la-sci_xpause.Plo
@@ -0,0 +1,236 @@
+sci_gateway/c/libscitime_la-sci_xpause.lo: sci_gateway/c/sci_xpause.c \
+ /usr/include/stdc-predef.h ../../modules/core/includes/machine.h \
+ /usr/include/unistd.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
+ /usr/include/x86_64-linux-gnu/bits/environments.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \
+ /usr/include/x86_64-linux-gnu/bits/unistd.h includes/gw_time.h \
+ includes/dynlib_time.h ../../modules/core/includes/stack-c.h \
+ /usr/include/string.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/values.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/unistd.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix_opt.h:
+
+/usr/include/x86_64-linux-gnu/bits/environments.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/confname.h:
+
+/usr/include/getopt.h:
+
+/usr/include/x86_64-linux-gnu/bits/unistd.h:
+
+includes/gw_time.h:
+
+includes/dynlib_time.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/usr/include/values.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/time/sci_gateway/c/.dirstamp b/modules/time/sci_gateway/c/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/time/sci_gateway/c/.dirstamp
diff --git a/modules/time/sci_gateway/c/.libs/libscitime_la-gw_time.o b/modules/time/sci_gateway/c/.libs/libscitime_la-gw_time.o
new file mode 100755
index 000000000..ec8738032
--- /dev/null
+++ b/modules/time/sci_gateway/c/.libs/libscitime_la-gw_time.o
Binary files differ
diff --git a/modules/time/sci_gateway/c/.libs/libscitime_la-sci_calendar.o b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_calendar.o
new file mode 100755
index 000000000..ab8392e9f
--- /dev/null
+++ b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_calendar.o
Binary files differ
diff --git a/modules/time/sci_gateway/c/.libs/libscitime_la-sci_getdate.o b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_getdate.o
new file mode 100755
index 000000000..932e3b54f
--- /dev/null
+++ b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_getdate.o
Binary files differ
diff --git a/modules/time/sci_gateway/c/.libs/libscitime_la-sci_realtime.o b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_realtime.o
new file mode 100755
index 000000000..09a454b6d
--- /dev/null
+++ b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_realtime.o
Binary files differ
diff --git a/modules/time/sci_gateway/c/.libs/libscitime_la-sci_sleep.o b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_sleep.o
new file mode 100755
index 000000000..ee2f83071
--- /dev/null
+++ b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_sleep.o
Binary files differ
diff --git a/modules/time/sci_gateway/c/.libs/libscitime_la-sci_timer.o b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_timer.o
new file mode 100755
index 000000000..3f6bc28ac
--- /dev/null
+++ b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_timer.o
Binary files differ
diff --git a/modules/time/sci_gateway/c/.libs/libscitime_la-sci_xpause.o b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_xpause.o
new file mode 100755
index 000000000..ff09d69ab
--- /dev/null
+++ b/modules/time/sci_gateway/c/.libs/libscitime_la-sci_xpause.o
Binary files differ
diff --git a/modules/time/sci_gateway/c/gw_time.c b/modules/time/sci_gateway/c/gw_time.c
new file mode 100755
index 000000000..4052db75a
--- /dev/null
+++ b/modules/time/sci_gateway/c/gw_time.c
@@ -0,0 +1,43 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * 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
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_time.h"
+#include "api_scilab.h"
+#include "MALLOC.h"
+#include "callFunctionFromGateway.h"
+/*--------------------------------------------------------------------------*/
+static gw_generic_table Tab[] =
+{
+ {sci_getdate, "getdate"},
+ {sci_calendar, "Calendar"},
+ {sci_timer, "timer"},
+ {sci_sleep, "sleep"},
+ {sci_xpause, "xpause"},
+ {sci_realtimeinit, "realtimeinit"},
+ {sci_realtime, "realtime"},
+};
+/*--------------------------------------------------------------------------*/
+int gw_time(void)
+{
+ Rhs = Max(0, Rhs);
+
+ if (pvApiCtx == NULL)
+ {
+ pvApiCtx = (StrCtx*)MALLOC(sizeof(StrCtx));
+ }
+
+ pvApiCtx->pstName = (char*)Tab[Fin - 1].name;
+ callFunctionFromGateway(Tab, SIZE_CURRENT_GENERIC_TABLE(Tab));
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/sci_gateway/c/libscitime_la-gw_time.lo b/modules/time/sci_gateway/c/libscitime_la-gw_time.lo
new file mode 100755
index 000000000..78aeb7fc6
--- /dev/null
+++ b/modules/time/sci_gateway/c/libscitime_la-gw_time.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscitime_la-gw_time.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_la-gw_time.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/sci_gateway/c/libscitime_la-sci_calendar.lo b/modules/time/sci_gateway/c/libscitime_la-sci_calendar.lo
new file mode 100755
index 000000000..f868445dc
--- /dev/null
+++ b/modules/time/sci_gateway/c/libscitime_la-sci_calendar.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscitime_la-sci_calendar.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_la-sci_calendar.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/sci_gateway/c/libscitime_la-sci_getdate.lo b/modules/time/sci_gateway/c/libscitime_la-sci_getdate.lo
new file mode 100755
index 000000000..177b37b18
--- /dev/null
+++ b/modules/time/sci_gateway/c/libscitime_la-sci_getdate.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscitime_la-sci_getdate.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_la-sci_getdate.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/sci_gateway/c/libscitime_la-sci_realtime.lo b/modules/time/sci_gateway/c/libscitime_la-sci_realtime.lo
new file mode 100755
index 000000000..52f932268
--- /dev/null
+++ b/modules/time/sci_gateway/c/libscitime_la-sci_realtime.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscitime_la-sci_realtime.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_la-sci_realtime.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/sci_gateway/c/libscitime_la-sci_sleep.lo b/modules/time/sci_gateway/c/libscitime_la-sci_sleep.lo
new file mode 100755
index 000000000..f3b4613ef
--- /dev/null
+++ b/modules/time/sci_gateway/c/libscitime_la-sci_sleep.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscitime_la-sci_sleep.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_la-sci_sleep.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/sci_gateway/c/libscitime_la-sci_timer.lo b/modules/time/sci_gateway/c/libscitime_la-sci_timer.lo
new file mode 100755
index 000000000..f7ab94967
--- /dev/null
+++ b/modules/time/sci_gateway/c/libscitime_la-sci_timer.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscitime_la-sci_timer.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_la-sci_timer.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/sci_gateway/c/libscitime_la-sci_xpause.lo b/modules/time/sci_gateway/c/libscitime_la-sci_xpause.lo
new file mode 100755
index 000000000..00c164e9f
--- /dev/null
+++ b/modules/time/sci_gateway/c/libscitime_la-sci_xpause.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscitime_la-sci_xpause.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_la-sci_xpause.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/sci_gateway/c/sci_calendar.c b/modules/time/sci_gateway/c/sci_calendar.c
new file mode 100755
index 000000000..7a8891588
--- /dev/null
+++ b/modules/time/sci_gateway/c/sci_calendar.c
@@ -0,0 +1,153 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * 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
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_time.h"
+#include "stack-c.h"
+#include "MALLOC.h"
+#include "Scierror.h"
+#include "IsAScalar.h"
+#include "transposeMatrix.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+static int isBissextile (unsigned year);
+static unsigned months_to_days (unsigned month);
+static long years_to_days (unsigned year);
+static long ymd_to_scalar (unsigned year, unsigned month, unsigned day);
+/*--------------------------------------------------------------------------*/
+#define NBRDAY 7
+#define NBRWEEK 6
+/*--------------------------------------------------------------------------*/
+int days[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
+/*--------------------------------------------------------------------------*/
+int sci_calendar(char *fname, unsigned long fname_len)
+{
+ static int l1, n1, m1;
+
+ int month = 0;
+ int year = 0;
+ int day, day_1, numdays, i;
+ int a = 0;
+
+ int *CALMONTH = NULL;
+ int *tmpMatrix = NULL;
+
+ Rhs = Max(0, Rhs);
+ CheckRhs(2, 2);
+ CheckLhs(1, 1);
+
+ if ( IsAScalar(Rhs - 1) && IsAScalar(Rhs) )
+ {
+ GetRhsVar(1, MATRIX_OF_INTEGER_DATATYPE, &m1, &n1, &l1);
+ year = *istk(l1);
+
+ GetRhsVar(2, MATRIX_OF_INTEGER_DATATYPE, &m1, &n1, &l1);
+ month = *istk(l1);
+
+ if ( (year < 1800) || (year > 3000) )
+ {
+ Scierror(999, _("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"), fname, 2, 1800, 3000);
+ return 0;
+ }
+
+ if ( (month < 1) || (month > 12) )
+ {
+ Scierror(999, _("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"), fname, 1, 1, 12);
+ return 0;
+ }
+ }
+ else
+ {
+ Scierror(999, _("%s: Wrong type for input arguments: Scalar values expected.\n"), fname);
+ return 0;
+ }
+ CALMONTH = (int *)MALLOC( (NBRDAY * NBRWEEK) * sizeof(int) );
+ for (i = 0; i < NBRDAY * NBRWEEK; i++)
+ {
+ CALMONTH[i] = 0;
+ }
+
+ /* check if the month of feb is 28 or 29 days */
+ numdays = days[month - 1];
+ if (2 == month && isBissextile(year))
+ {
+ ++numdays;
+ }
+
+ /* Starts the calendar on monday */
+ day_1 = (int)((ymd_to_scalar(year, month, 1) - (long)1) % 7L);
+
+ for (day = 0; day < day_1; ++day)
+ {
+ a++;
+ }
+
+ /* Browse all the days */
+ for (day = 1; day <= numdays; ++day, ++day_1, day_1 %= 7)
+ {
+ CALMONTH[a] = day;
+ a++;
+ }
+ m1 = NBRWEEK;
+ n1 = NBRDAY;
+ tmpMatrix = CALMONTH;
+
+ CALMONTH = transposeMatrixInt(NBRDAY, NBRWEEK, CALMONTH);
+ if (tmpMatrix)
+ {
+ FREE(tmpMatrix);
+ tmpMatrix = NULL;
+ }
+
+ CreateVarFromPtr(Rhs + 1, MATRIX_OF_INTEGER_DATATYPE, &m1, &n1 , &CALMONTH);
+ LhsVar(1) = Rhs + 1;
+
+ if (CALMONTH)
+ {
+ FREE(CALMONTH);
+ CALMONTH = NULL;
+ }
+
+ PutLhsVar();
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
+static int isBissextile (unsigned year)
+{
+ return year % 400 == 0 || (year % 4 == 0 && year % 100 != 0);
+}
+/*--------------------------------------------------------------------------*/
+static unsigned months_to_days (unsigned month)
+{
+ return (month * 3057 - 3007) / 100;
+}
+/*--------------------------------------------------------------------------*/
+static long years_to_days (unsigned year)
+{
+ return year * 365L + year / 4 - year / 100 + year / 400;
+}
+/*--------------------------------------------------------------------------*/
+static long ymd_to_scalar (unsigned year, unsigned month, unsigned day)
+{
+ long scalaire;
+ scalaire = day + months_to_days(month);
+ if ( month > 2 )
+ {
+ scalaire -= isBissextile(year) ? 1 : 2;
+ }
+ year--;
+ scalaire += years_to_days(year);
+ return scalaire;
+}
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/time/sci_gateway/c/sci_getdate.c b/modules/time/sci_gateway/c/sci_getdate.c
new file mode 100755
index 000000000..4b1a370d3
--- /dev/null
+++ b/modules/time/sci_gateway/c/sci_getdate.c
@@ -0,0 +1,198 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ * Copyright (C) DIGITEO - 2012 - Allan CORNET
+ *
+ * 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
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#include <stdio.h>
+#include <string.h>
+#include "gw_time.h"
+#include "MALLOC.h"
+#include "getdate.h"
+#include "Scierror.h"
+#include "localization.h"
+#include "api_scilab.h"
+/*--------------------------------------------------------------------------*/
+int sci_getdate(char *fname, unsigned long fname_len)
+{
+ SciErr sciErr;
+
+ Rhs = Max(Rhs, 0);
+ CheckRhs(0, 1) ;
+ CheckLhs(0, 1) ;
+
+ if (Rhs == 0)
+ {
+ int iErr = 0;
+ double *dDate = getCurrentDateAsDoubleVector(&iErr);
+
+ if (iErr)
+ {
+ Scierror(999, _("%s: An error occurred.\n"), fname);
+ if (dDate)
+ {
+ FREE(dDate);
+ dDate = NULL;
+ }
+ return 0;
+ }
+
+ if (dDate)
+ {
+ sciErr = createMatrixOfDouble(pvApiCtx, Rhs + 1, 1, NB_ELEMNT_ARRAY_GETDATE, dDate);
+ FREE(dDate);
+ dDate = NULL;
+
+ if (sciErr.iErr)
+ {
+ printError(&sciErr, 0);
+ Scierror(999, _("%s: Memory allocation error.\n"), fname);
+ return 0;
+ }
+ }
+ else
+ {
+ Scierror(999, _("%s: Memory allocation error.\n"), fname);
+ return 0;
+ }
+ }
+ else /* Rhs == 1 */
+ {
+ int *piAddressVarOne = NULL;
+ sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddressVarOne);
+ if (sciErr.iErr)
+ {
+ printError(&sciErr, 0);
+ Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1);
+ return 0;
+ }
+
+ if (isStringType(pvApiCtx, piAddressVarOne))
+ {
+ if (isScalar(pvApiCtx, piAddressVarOne))
+ {
+ double dTime = 0.;
+
+ char *pStr = NULL;
+ if (getAllocatedSingleString(pvApiCtx, piAddressVarOne, &pStr) != 0)
+ {
+ Scierror(999, _("%s: No more memory.\n"), fname);
+ return 0;
+ }
+
+ if (strcmp(pStr, "s") != 0)
+ {
+ freeAllocatedSingleString(pStr);
+ pStr = NULL;
+ Scierror(999, _("%s: Wrong value for input argument #%d: '%s' expected.\n"), fname, 1, "s");
+ return 0;
+ }
+
+ freeAllocatedSingleString(pStr);
+ pStr = NULL;
+
+ dTime = getCurrentDateAsUnixTimeConvention();
+
+ if (createScalarDouble(pvApiCtx, Rhs + 1, dTime) != 0)
+ {
+ Scierror(999, _("%s: Memory allocation error.\n"), fname);
+ return 0;
+ }
+ }
+ else
+ {
+ Scierror(999, _("%s: Wrong size for input argument #%d: A string expected.\n"), fname, 1);
+ return 0;
+ }
+ }
+ else if (isDoubleType(pvApiCtx, piAddressVarOne))
+ {
+ if (isEmptyMatrix(pvApiCtx, piAddressVarOne))
+ {
+ if (createEmptyMatrix(pvApiCtx, Rhs + 1) != 0)
+ {
+ Scierror(999, _("%s: Memory allocation error.\n"), fname);
+ return 0;
+ }
+ }
+ else if (!isVarComplex(pvApiCtx, piAddressVarOne))
+ {
+ int iErr = 0;
+ double *dValues = NULL;
+ double *dResults = NULL;
+ int m = 0, n = 0;
+ int nbElements = 0;
+ int i = 0;
+ sciErr = getMatrixOfDouble(pvApiCtx, piAddressVarOne, &m, &n, &dValues);
+ if (sciErr.iErr)
+ {
+ printError(&sciErr, 0);
+ Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1);
+ return 0;
+ }
+
+ nbElements = m * n;
+
+ for (i = 0; i < nbElements; i++)
+ {
+ if (dValues[i] < 0.)
+ {
+ Scierror(999, _("%s: Wrong value for input argument #%d: Must be > %d.\n"), fname, 1, 0);
+ return 0;
+ }
+ }
+
+ dResults = getConvertedDateAsMatrixOfDouble(dValues, nbElements, &iErr);
+
+ if (iErr == 2)
+ {
+ FREE(dResults);
+ Scierror(999, _("%s: An error occurred.\n"), fname);
+ return 0;
+ }
+
+ if (dResults == NULL)
+ {
+ Scierror(999, _("%s: Memory allocation error.\n"), fname);
+ return 0;
+ }
+
+
+ sciErr = createMatrixOfDouble(pvApiCtx, Rhs + 1, nbElements, NB_ELEMNT_ARRAY_GETDATE, dResults);
+
+ FREE(dResults);
+ dResults = NULL;
+
+ if (sciErr.iErr)
+ {
+ printError(&sciErr, 0);
+ Scierror(999, _("%s: Memory allocation error.\n"), fname);
+ return 0;
+ }
+ }
+ else
+ {
+ Scierror(999, _("%s: Wrong value for input argument #%d: A real expected.\n"), fname, 1);
+ return 0;
+ }
+ }
+ else
+ {
+ Scierror(999, _("%s: Wrong type for input argument #%d: Integer or '%s' expected.\n"), fname, 1, "s");
+ return 0;
+ }
+ }
+
+ LhsVar(1) = Rhs + 1;
+ PutLhsVar();
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/time/sci_gateway/c/sci_realtime.c b/modules/time/sci_gateway/c/sci_realtime.c
new file mode 100755
index 000000000..035fa32ef
--- /dev/null
+++ b/modules/time/sci_gateway/c/sci_realtime.c
@@ -0,0 +1,54 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_time.h"
+#include "realtime.h"
+#include "stack-c.h"
+/*--------------------------------------------------------------------------*/
+int sci_realtimeinit(char *fname, unsigned long fname_len)
+{
+ int m1 = 0, n1 = 0, l1 = 0;
+ double zer = 0.0;
+ CheckRhs(1, 1);
+ CheckLhs(1, 1);
+
+ /* checking variable scale */
+ GetRhsVar(1, MATRIX_OF_DOUBLE_DATATYPE, &m1, &n1, &l1);
+ CheckScalar(1, m1, n1);
+
+ /* cross variable size checking */
+ C2F(realtimeinit)(&zer, stk(l1));
+
+ LhsVar(1) = 0;
+ PutLhsVar();
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
+int sci_realtime(char *fname, unsigned long fname_len)
+{
+ int m1 = 0, n1 = 0, l1 = 0;
+ CheckRhs(1, 1);
+ CheckLhs(1, 1);
+
+ /* checking variable t */
+ GetRhsVar(1, MATRIX_OF_DOUBLE_DATATYPE, &m1, &n1, &l1);
+ CheckScalar(1, m1, n1);
+
+ /* cross variable size checking */
+ C2F(realtime)(stk(l1));
+
+ LhsVar(1) = 0;
+ PutLhsVar();
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/sci_gateway/c/sci_sleep.c b/modules/time/sci_gateway/c/sci_sleep.c
new file mode 100755
index 000000000..8a45f3cfb
--- /dev/null
+++ b/modules/time/sci_gateway/c/sci_sleep.c
@@ -0,0 +1,75 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * 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
+ *
+ */
+
+
+/*--------------------------------------------------------------------------*/
+#ifdef _MSC_VER
+#include <Windows.h>
+#endif
+#include "machine.h"
+#ifdef HAVE_USLEEP
+#include <unistd.h>
+#endif
+#include "gw_time.h"
+#include "stack-c.h"
+#include "Scierror.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+int sci_sleep(char *fname, unsigned long fname_len)
+{
+ int m1, n1, l1, sec = 0;
+
+ CheckLhs(0, 1);
+ CheckRhs(1, 1);
+ if (Rhs == 1)
+ {
+ GetRhsVar(1, MATRIX_OF_DOUBLE_DATATYPE, &m1, &n1, &l1);
+ CheckScalar(1, m1, n1);
+ sec = (int) * stk(l1);
+ if (sec <= 0)
+ {
+ Scierror(999, _("%s: Wrong values for input argument #%d: Non-negative integers expected.\n"), fname, 1);
+ return 0;
+ }
+
+#ifdef _MSC_VER
+ {
+ int ms = (sec); /** time is specified in milliseconds in scilab**/
+ if (ms > 0)
+ {
+ Sleep(ms); /* Number of milliseconds to sleep. */
+ }
+ }
+#else
+ {
+ unsigned useconds;
+ useconds = (unsigned) sec;
+ if (useconds != 0)
+#ifdef HAVE_USLEEP
+ {
+ usleep(useconds * 1000);
+ }
+#else
+#ifdef HAVE_SLEEP
+ {
+ sleep(useconds * 1000);
+ }
+#endif
+#endif
+ }
+#endif
+ }
+ LhsVar(1) = 0;
+ PutLhsVar();
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/sci_gateway/c/sci_timer.c b/modules/time/sci_gateway/c/sci_timer.c
new file mode 100755
index 000000000..ad55c3953
--- /dev/null
+++ b/modules/time/sci_gateway/c/sci_timer.c
@@ -0,0 +1,48 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) INRIA - Allan CORNET
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+*
+* 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
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#include "gw_time.h"
+#include "timer.h"
+#include "localization.h"
+#include "Scierror.h"
+#include "stack-c.h"
+/*--------------------------------------------------------------------------*/
+int sci_timer(char *fname, unsigned long fname_len)
+{
+ double timerval = 0;
+
+ Rhs = Max(0, Rhs);
+ CheckLhs(0, 1);
+ CheckRhs(0, 0);
+
+ timerval = scilab_timer();
+
+ if (timerval >= 0.)
+ {
+ int l1 = 0, n1 = 1;
+
+ CreateVar(Rhs + 1, MATRIX_OF_DOUBLE_DATATYPE, &n1, &n1, &l1);
+ *stk(l1) = (double)timerval;
+
+ LhsVar(1) = Rhs + 1;
+ PutLhsVar();
+ }
+ else
+ {
+ Scierror(999, _("%s: An error occurred.\n"), fname);
+ }
+
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/sci_gateway/c/sci_xpause.c b/modules/time/sci_gateway/c/sci_xpause.c
new file mode 100755
index 000000000..621e73564
--- /dev/null
+++ b/modules/time/sci_gateway/c/sci_xpause.c
@@ -0,0 +1,74 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * 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
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifdef _MSC_VER
+#include <Windows.h>
+#endif
+#include "machine.h"
+#ifdef HAVE_USLEEP
+#include <unistd.h>
+#endif
+#include "gw_time.h"
+#include "stack-c.h"
+#include "Scierror.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+int sci_xpause(char *fname, unsigned long fname_len)
+{
+ int m1 = 0, n1 = 0, l1 = 0, sec = 0;
+
+ CheckLhs(0, 1);
+ CheckRhs(1, 1);
+ if (Rhs == 1)
+ {
+ GetRhsVar(1, MATRIX_OF_DOUBLE_DATATYPE, &m1, &n1, &l1);
+ CheckScalar(1, m1, n1);
+ sec = (int) * stk(l1);
+ if (sec <= 0)
+ {
+ Scierror(999, _("%s: Wrong values for input argument #%d: Non-negative integers expected.\n"), fname, 1);
+ return 0;
+ }
+
+#ifdef _MSC_VER
+ {
+ int ms = (sec) / 1000; /** time is specified in milliseconds in scilab**/
+ if (ms > 0)
+ {
+ Sleep(ms); /* Number of milliseconds to sleep. */
+ }
+ }
+#else
+ {
+ unsigned useconds;
+ useconds = (unsigned) sec;
+ if (useconds != 0)
+#ifdef HAVE_USLEEP
+ {
+ usleep(useconds);
+ }
+#else
+#ifdef HAVE_SLEEP
+ {
+ sleep(useconds);
+ }
+#endif
+#endif
+ }
+#endif
+ }
+ LhsVar(1) = 0;
+ PutLhsVar();
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/sci_gateway/time_gateway.xml b/modules/time/sci_gateway/time_gateway.xml
new file mode 100755
index 000000000..a2602b2da
--- /dev/null
+++ b/modules/time/sci_gateway/time_gateway.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">
+<GATEWAY name="time">
+ <!-- =================== -->
+ <!--
+ Scilab
+ Interface description. In this file, we define the list of the function which
+ will be available into Scilab and the link to the "native" function.
+
+ gatewayId is the position in the hashtable 'Interfaces' defined in the
+ file SCI/modules/core/src/c/callinterf.h
+
+ primitiveId is the position in the hashtable '<module>Table Tab[]' defined
+ in the file modules/<module>/sci_gateway/c/gw_<module>.c
+
+ primitiveName is the name of the Scilab function
+
+ ===================
+ Don't touch if you do not know what you are doing
+-->
+
+ <!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Sylvestre LEDRU , Allan CORNET
+ *
+ * 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
+ *
+ -->
+
+ <!-- =================== -->
+
+ <PRIMITIVE gatewayId="48" primitiveId="1" primitiveName="getdate" />
+ <PRIMITIVE gatewayId="48" primitiveId="2" primitiveName="Calendar" />
+ <PRIMITIVE gatewayId="48" primitiveId="3" primitiveName="timer" />
+ <PRIMITIVE gatewayId="48" primitiveId="4" primitiveName="sleep" />
+ <PRIMITIVE gatewayId="48" primitiveId="5" primitiveName="xpause" />
+ <PRIMITIVE gatewayId="48" primitiveId="6" primitiveName="realtimeinit" />
+ <PRIMITIVE gatewayId="48" primitiveId="7" primitiveName="realtime" />
+</GATEWAY>
diff --git a/modules/time/src/c/.deps/.dirstamp b/modules/time/src/c/.deps/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/time/src/c/.deps/.dirstamp
diff --git a/modules/time/src/c/.deps/libscitime_algo_la-getdate.Plo b/modules/time/src/c/.deps/libscitime_algo_la-getdate.Plo
new file mode 100755
index 000000000..a8cc37d95
--- /dev/null
+++ b/modules/time/src/c/.deps/libscitime_algo_la-getdate.Plo
@@ -0,0 +1,122 @@
+src/c/libscitime_algo_la-getdate.lo: src/c/getdate.c \
+ /usr/include/stdc-predef.h /usr/include/x86_64-linux-gnu/sys/time.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
+ /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h src/c/getdate.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/transposeMatrix.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/x86_64-linux-gnu/sys/time.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+src/c/getdate.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/transposeMatrix.h:
diff --git a/modules/time/src/c/.deps/libscitime_algo_la-realtime.Plo b/modules/time/src/c/.deps/libscitime_algo_la-realtime.Plo
new file mode 100755
index 000000000..5e7aacb33
--- /dev/null
+++ b/modules/time/src/c/.deps/libscitime_algo_la-realtime.Plo
@@ -0,0 +1,92 @@
+src/c/libscitime_algo_la-realtime.lo: src/c/realtime.c \
+ /usr/include/stdc-predef.h /usr/include/stdio.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h includes/realtime.h \
+ ../../modules/core/includes/machine.h \
+ /usr/include/x86_64-linux-gnu/sys/time.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h /usr/include/unistd.h \
+ /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
+ /usr/include/x86_64-linux-gnu/bits/environments.h \
+ /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \
+ /usr/include/x86_64-linux-gnu/bits/unistd.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+includes/realtime.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/x86_64-linux-gnu/sys/time.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/unistd.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix_opt.h:
+
+/usr/include/x86_64-linux-gnu/bits/environments.h:
+
+/usr/include/x86_64-linux-gnu/bits/confname.h:
+
+/usr/include/getopt.h:
+
+/usr/include/x86_64-linux-gnu/bits/unistd.h:
diff --git a/modules/time/src/c/.deps/libscitime_algo_la-timer.Plo b/modules/time/src/c/.deps/libscitime_algo_la-timer.Plo
new file mode 100755
index 000000000..d002b91aa
--- /dev/null
+++ b/modules/time/src/c/.deps/libscitime_algo_la-timer.Plo
@@ -0,0 +1,84 @@
+src/c/libscitime_algo_la-timer.lo: src/c/timer.c \
+ /usr/include/stdc-predef.h /usr/include/stdio.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/sys/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/resource.h \
+ /usr/include/x86_64-linux-gnu/bits/resource.h includes/timer.h \
+ ../../modules/core/includes/machine.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/sys/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/resource.h:
+
+/usr/include/x86_64-linux-gnu/bits/resource.h:
+
+includes/timer.h:
+
+../../modules/core/includes/machine.h:
diff --git a/modules/time/src/c/.dirstamp b/modules/time/src/c/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/time/src/c/.dirstamp
diff --git a/modules/time/src/c/.libs/libscitime_algo_la-getdate.o b/modules/time/src/c/.libs/libscitime_algo_la-getdate.o
new file mode 100755
index 000000000..dc512549a
--- /dev/null
+++ b/modules/time/src/c/.libs/libscitime_algo_la-getdate.o
Binary files differ
diff --git a/modules/time/src/c/.libs/libscitime_algo_la-realtime.o b/modules/time/src/c/.libs/libscitime_algo_la-realtime.o
new file mode 100755
index 000000000..e00b54acd
--- /dev/null
+++ b/modules/time/src/c/.libs/libscitime_algo_la-realtime.o
Binary files differ
diff --git a/modules/time/src/c/.libs/libscitime_algo_la-timer.o b/modules/time/src/c/.libs/libscitime_algo_la-timer.o
new file mode 100755
index 000000000..c5680d57e
--- /dev/null
+++ b/modules/time/src/c/.libs/libscitime_algo_la-timer.o
Binary files differ
diff --git a/modules/time/src/c/DllmainTime.c b/modules/time/src/c/DllmainTime.c
new file mode 100755
index 000000000..4ace23a3b
--- /dev/null
+++ b/modules/time/src/c/DllmainTime.c
@@ -0,0 +1,34 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * 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
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <windows.h>
+/*--------------------------------------------------------------------------*/
+#pragma comment(lib,"../../bin/libintl.lib")
+/*--------------------------------------------------------------------------*/
+int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved)
+{
+ switch (reason)
+ {
+ case DLL_PROCESS_ATTACH:
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ case DLL_THREAD_ATTACH:
+ break;
+ case DLL_THREAD_DETACH:
+ break;
+ }
+ return 1;
+}
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/time/src/c/getdate.c b/modules/time/src/c/getdate.c
new file mode 100755
index 000000000..ca7560e94
--- /dev/null
+++ b/modules/time/src/c/getdate.c
@@ -0,0 +1,284 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ * Copyright (C) DIGITEO - 2012 - Allan CORNET
+ *
+ * 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
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#ifdef _MSC_VER
+#include <sys/timeb.h>
+#else
+#include <sys/time.h>
+#endif
+#include <time.h>
+#include <stdio.h>
+#include "getdate.h"
+#include "MALLOC.h"
+#include "transposeMatrix.h"
+/*--------------------------------------------------------------------------*/
+#define YEAR_INDEX 0
+#define MONTH_INDEX 1
+#define WEEK_NUMBER_INDEX 2
+#define DAY_OF_YEAR_INDEX 3
+#define WEEKDAY_INDEX 4
+#define DAY_OF_MONTH_INDEX 5
+#define HOUR_OF_DAY_INDEX 6
+#define MINUTE_INDEX 7
+#define SECOND_INDEX 8
+#define MILLISECOND_INDEX 9
+/*--------------------------------------------------------------------------*/
+#define ISO_WEEK_START_WDAY 1 /* Monday */
+#define ISO_WEEK1_WDAY 4 /* Thursday */
+#define YDAY_MINIMUM (-366)
+#define TM_YEAR_BASE 1900
+#ifndef __isleap
+/* Nonzero if YEAR is a leap year (every 4 years,
+except every 100th isn't, and every 400th is). */
+# define __isleap(year) \
+ ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
+#endif
+/*--------------------------------------------------------------------------*/
+static int week_number (struct tm *tp);
+static int week_days (int yday, int wday);
+/*--------------------------------------------------------------------------*/
+double *getCurrentDateAsDoubleVector(int *iErr)
+{
+ double *dVector = (double*) MALLOC(sizeof(double) * NB_ELEMNT_ARRAY_GETDATE);
+ *iErr = 1;
+ if (dVector)
+ {
+ struct tm *nowstruct = NULL;
+ double milliseconds = 0.;
+#ifdef _MSC_VER
+ /* manages date up through 23:59:59, December 31, 3000 */
+ /* previous version was limited to 19:14:07 January 18, 2038, UTC. */
+ __time64_t long_time;
+ struct __timeb64 tstruct;
+ _ftime64(&tstruct);
+ long_time = tstruct.time;
+ nowstruct = _localtime64(&long_time);
+#else
+ struct timeval timebuffer;
+ gettimeofday(&timebuffer, NULL);
+ nowstruct = localtime(&timebuffer);
+#endif
+
+#ifdef _MSC_VER
+ milliseconds = (double)(tstruct.millitm);
+#else
+ milliseconds = (double)(timebuffer.tv_usec / 1000); /* micro to ms */
+#endif
+ if (milliseconds < 0)
+ {
+ milliseconds = 0.;
+ }
+
+ if (nowstruct)
+ {
+ dVector[YEAR_INDEX] = (double)(1900 + nowstruct->tm_year);
+ dVector[MONTH_INDEX] = (double)(1 + nowstruct->tm_mon);
+ dVector[WEEK_NUMBER_INDEX] = (double)(week_number(nowstruct));
+ dVector[DAY_OF_YEAR_INDEX] = (double)(1 + nowstruct->tm_yday);
+ dVector[WEEKDAY_INDEX] = (double)(1 + nowstruct->tm_wday);
+ dVector[DAY_OF_MONTH_INDEX] = (double)(nowstruct->tm_mday);
+ dVector[HOUR_OF_DAY_INDEX] = (double)(nowstruct->tm_hour);
+ dVector[MINUTE_INDEX] = (double)(nowstruct->tm_min);
+ dVector[SECOND_INDEX] = (double)(nowstruct->tm_sec);
+ dVector[MILLISECOND_INDEX] = (double)milliseconds;
+ *iErr = 0;
+ }
+ }
+ return dVector;
+}
+/*--------------------------------------------------------------------------*/
+double getCurrentDateAsUnixTimeConvention(void)
+{
+ double dValue = 0.;
+#ifdef _MSC_VER
+ /* manages date up through 23:59:59, December 31, 3000 */
+ /* previous version was limited to 19:14:07 January 18, 2038, UTC. */
+ struct __timeb64 tstruct;
+ _ftime64(&tstruct);
+ dValue = (double)tstruct.time;
+#else
+ time_t t;
+ time(&t);
+ dValue = (double)t;
+#endif
+
+ if (dValue < 0.)
+ {
+ dValue = 0.;
+ }
+ return dValue;
+}
+/*--------------------------------------------------------------------------*/
+double * getConvertedDateAsDoubleVector(double dDate, int *iErr)
+{
+ double *dVector = (double*) MALLOC(sizeof(double) * NB_ELEMNT_ARRAY_GETDATE);
+ *iErr = 1;
+ if (dVector)
+ {
+ struct tm *tstruct = NULL;
+ double milliseconds = 0.;
+#ifdef _MSC_VER
+ __time64_t instantT = (__time64_t)dDate;
+ tstruct = _localtime64(&instantT);
+#else
+ time_t instantT = (time_t)dDate;
+ tstruct = localtime(&instantT);
+#endif
+ milliseconds = dDate - (double)instantT;
+ if (milliseconds > 0)
+ {
+ if (milliseconds > 999)
+ {
+ milliseconds = (double)999;
+ }
+ }
+ else
+ {
+ milliseconds = 0.;
+ }
+
+ if (tstruct)
+ {
+ dVector[YEAR_INDEX] = (double)(1900 + tstruct->tm_year);
+ dVector[MONTH_INDEX] = (double)(1 + tstruct->tm_mon);
+ dVector[WEEK_NUMBER_INDEX] = (double)(week_number(tstruct));
+ dVector[DAY_OF_YEAR_INDEX] = (double)(1 + tstruct->tm_yday);
+ dVector[WEEKDAY_INDEX] = (double)(1 + tstruct->tm_wday);
+ dVector[DAY_OF_MONTH_INDEX] = (double)(tstruct->tm_mday);
+ dVector[HOUR_OF_DAY_INDEX] = (double)(tstruct->tm_hour);
+ dVector[MINUTE_INDEX] = (double)(tstruct->tm_min);
+ dVector[SECOND_INDEX] = (double)(tstruct->tm_sec);
+ dVector[MILLISECOND_INDEX] = (double)milliseconds;
+ *iErr = 0;
+ }
+ else
+ {
+ *iErr = 2;
+ }
+ }
+ return dVector;
+}
+/*--------------------------------------------------------------------------*/
+double *getConvertedDateAsMatrixOfDouble(double *dDates, int nbElements, int *iErr)
+{
+ double *dResults = NULL;
+ int lenResults = nbElements * NB_ELEMNT_ARRAY_GETDATE;
+ *iErr = 1;
+
+ dResults = (double*)MALLOC(sizeof(double) * lenResults);
+ if (dResults)
+ {
+ int k = 0;
+ int j = 0;
+
+ int m = 0;
+ int n = 0;
+
+ double *dResTmp = NULL;
+
+ for (k = 0; k < lenResults; k++)
+ {
+ dResults[k] = 0;
+ }
+
+ *iErr = 0;
+ for (k = 0; k < nbElements; k++)
+ {
+ int iErr2 = 0;
+ double *dConverted = getConvertedDateAsDoubleVector(dDates[k], &iErr2);
+ if (iErr2 == 0)
+ {
+ int n = 0;
+ for (n = 0; n < NB_ELEMNT_ARRAY_GETDATE; n++)
+ {
+ dResults[j] = dConverted[n];
+ j++;
+ }
+ FREE(dConverted);
+ dConverted = NULL;
+ }
+ else
+ {
+ FREE(dResults);
+ FREE(dConverted);
+ dResults = NULL;
+ *iErr = iErr2;
+ return NULL;
+ }
+ }
+
+ m = nbElements;
+ n = NB_ELEMNT_ARRAY_GETDATE;
+ dResTmp = transposeMatrixDouble(n, m, dResults);
+ if (dResTmp)
+ {
+ FREE(dResults);
+ dResults = dResTmp;
+ *iErr = 0;
+ }
+ else
+ {
+ *iErr = 1;
+ }
+
+ }
+ return dResults;
+}
+/*--------------------------------------------------------------------------*/
+/* week_days computes
+* The number of days from the first day of the first ISO week of this
+* year to the year day YDAY with week day WDAY. ISO weeks start on
+* Monday; the first ISO week has the year's first Thursday. YDAY may
+* be as small as YDAY_MINIMUM. */
+/*--------------------------------------------------------------------------*/
+static int week_days (int yday, int wday)
+{
+ /* Add enough to the first operand of % to make it nonnegative. */
+ int big_enough_multiple_of_7 = (-YDAY_MINIMUM / 7 + 2) * 7;
+ return (yday - (yday - wday + ISO_WEEK1_WDAY + big_enough_multiple_of_7) % 7 + ISO_WEEK1_WDAY - ISO_WEEK_START_WDAY);
+}
+/*--------------------------------------------------------------------------*/
+/* week_number computes
+* the ISO 8601 week number as a decimal number
+* [01,53]. In the ISO 8601 week-based system, weeks
+* begin on a Monday and week 1 of the year is the
+* week that includes both January 4th and the first
+* Thursday of the year. If the first Monday of
+* January is the 2nd, 3rd, or 4th, the preceding
+* days are part of the last week of the preceding
+* year. */
+static int week_number(struct tm *tp)
+{
+ int year = tp->tm_year + TM_YEAR_BASE;
+ int days = week_days (tp->tm_yday, tp->tm_wday);
+
+ if (days < 0)
+ {
+ /* This ISO week belongs to the previous year. */
+ year--;
+ days = week_days (tp->tm_yday + (365 + __isleap(year)), tp->tm_wday);
+ }
+ else
+ {
+ int d = week_days (tp->tm_yday - (365 + __isleap(year)), tp->tm_wday);
+ if (0 <= d)
+ {
+ /* This ISO week belongs to the next year. */
+ year++;
+ days = d;
+ }
+ }
+ return ( (int)days / 7 + 1);
+}
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/time/src/c/getdate.h b/modules/time/src/c/getdate.h
new file mode 100755
index 000000000..82aa2d06e
--- /dev/null
+++ b/modules/time/src/c/getdate.h
@@ -0,0 +1,53 @@
+/*--------------------------------------------------------------------------*/
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Sylvestre LEDRU
+ * Copyright (C) DIGITEO - 2012 - Allan CORNET
+ *
+ * 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
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __GETDATE_H__
+#define __GETDATE_H__
+
+#define NB_ELEMNT_ARRAY_GETDATE 10
+
+/**
+* Get Current Date as vector of double
+* @param[out] ierr 0 eqs. OK
+* return an array of double
+*/
+double *getCurrentDateAsDoubleVector(int *iErr);
+
+/**
+* Get Current Date as Unix Time convention
+* return a double
+*/
+double getCurrentDateAsUnixTimeConvention(void);
+
+/**
+* Convert a double (Unix Time Convention) to an human date
+* (a vector of double)
+* @param[in] date as a double
+* @param[out] ierr 0 eqs. OK
+* return an array of double
+*/
+double *getConvertedDateAsDoubleVector(double dDate, int *iErr);
+
+/**
+* Convert doubles (Unix Time Convention) to an human dates
+* (a matrix of double)
+* @param[in] date as a double
+* @param[out] ierr 0 eqs. OK
+* return an array of double
+*/
+double *getConvertedDateAsMatrixOfDouble(double *dDates, int nbElements, int *iErr);
+
+#endif /* __GETDATE_H__ */
diff --git a/modules/time/src/c/libscitime_algo_la-getdate.lo b/modules/time/src/c/libscitime_algo_la-getdate.lo
new file mode 100755
index 000000000..1b2de5827
--- /dev/null
+++ b/modules/time/src/c/libscitime_algo_la-getdate.lo
@@ -0,0 +1,12 @@
+# src/c/libscitime_algo_la-getdate.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_algo_la-getdate.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/src/c/libscitime_algo_la-realtime.lo b/modules/time/src/c/libscitime_algo_la-realtime.lo
new file mode 100755
index 000000000..3e16a67c3
--- /dev/null
+++ b/modules/time/src/c/libscitime_algo_la-realtime.lo
@@ -0,0 +1,12 @@
+# src/c/libscitime_algo_la-realtime.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_algo_la-realtime.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/src/c/libscitime_algo_la-timer.lo b/modules/time/src/c/libscitime_algo_la-timer.lo
new file mode 100755
index 000000000..3c28c0dd1
--- /dev/null
+++ b/modules/time/src/c/libscitime_algo_la-timer.lo
@@ -0,0 +1,12 @@
+# src/c/libscitime_algo_la-timer.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscitime_algo_la-timer.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/time/src/c/realtime.c b/modules/time/src/c/realtime.c
new file mode 100755
index 000000000..a61042994
--- /dev/null
+++ b/modules/time/src/c/realtime.c
@@ -0,0 +1,147 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * 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
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <stdio.h>
+#include "realtime.h"
+
+#ifdef _MSC_VER
+#include <windows.h>
+#else
+#include <sys/time.h>
+#include <unistd.h>
+
+#ifndef __GNUC__
+#define inline
+#endif
+#endif
+/*--------------------------------------------------------------------------*/
+#ifdef _MSC_VER
+static double simulation_start = 0;
+static double simulation_scale = 0;
+static __int64 realtime_start = 0;
+static int simulation_doinit = 1;
+union
+{
+ FILETIME ftFileTime;
+ __int64 ftInt64;
+} ftRealTime;
+#else
+static double simulation_start = 0;
+static double simulation_scale = 0;
+static unsigned long long realtime_start = 0;
+static int simulation_doinit = 1;
+#endif
+
+/*--------------------------------------------------------------------------*/
+#ifndef _MSC_VER
+static inline unsigned long long TIME2ULL(struct timeval t)
+{
+ unsigned long long result;
+ result = (unsigned long long)t.tv_sec * 1000000 + t.tv_usec;
+ return result;
+}
+#endif
+/*--------------------------------------------------------------------------*/
+#ifndef _MSC_VER
+static inline struct timeval ULL2TIME(unsigned long long t)
+{
+ struct timeval result;
+ result.tv_sec = t / 1000000;
+ result.tv_usec = t % 1000000;
+ return result;
+}
+#endif
+/*--------------------------------------------------------------------------*/
+#ifndef _MSC_VER
+int C2F(realtimeinit)(double *t, double *scale)
+{
+ struct timeval now;
+
+ gettimeofday(&now, 0);
+ realtime_start = TIME2ULL(now);
+ simulation_doinit = 1;
+ simulation_scale = *scale;
+ return 0;
+}
+#endif
+/*--------------------------------------------------------------------------*/
+#ifndef _MSC_VER
+int C2F(realtime)(double *t)
+{
+ struct timeval now;
+ unsigned long long realtime_diff;
+ double simulation_diff;
+ long long delay;
+
+ if (simulation_doinit)
+ {
+ simulation_doinit = 0;
+ simulation_start = *t;
+ }
+ gettimeofday(&now, 0);
+ realtime_diff = TIME2ULL(now) - realtime_start;
+ simulation_diff = (*t - simulation_start) * simulation_scale;
+ delay = (long long)(simulation_diff * 1000000) - realtime_diff;
+
+ if (delay > 0)
+ {
+ struct timeval d ;
+ d = ULL2TIME(delay);
+ select(0, 0, 0, 0, &d);
+ }
+ return 0;
+}
+#endif
+/*--------------------------------------------------------------------------*/
+#ifdef _MSC_VER
+int C2F(realtimeinit)(double *t, double *scale)
+{
+ SYSTEMTIME st;
+ GetSystemTime(&st);
+ SystemTimeToFileTime(&st, &ftRealTime.ftFileTime);
+
+ realtime_start = ftRealTime.ftInt64;
+ simulation_doinit = 1;
+ simulation_scale = *scale;
+ return 0;
+}
+#endif
+/*--------------------------------------------------------------------------*/
+#ifdef _MSC_VER
+int C2F(realtime)(double *t)
+{
+ __int64 realtime_diff;
+ double simulation_diff;
+ __int64 delay;
+ SYSTEMTIME st;
+
+ if (simulation_doinit)
+ {
+ simulation_doinit = 0;
+ simulation_start = *t;
+ }
+ GetSystemTime(&st);
+ SystemTimeToFileTime(&st, &ftRealTime.ftFileTime);
+
+ realtime_diff = ftRealTime.ftInt64 - realtime_start;
+ simulation_diff = (*t - simulation_start) * simulation_scale;
+ delay = (__int64)(simulation_diff * 10000000) - realtime_diff;
+
+ if (delay > 0)
+ {
+ Sleep((DWORD)(delay / 10000));
+ }
+ return 0;
+}
+#endif
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/src/c/time.rc b/modules/time/src/c/time.rc
new file mode 100755
index 000000000..578160595
--- /dev/null
+++ b/modules/time/src/c/time.rc
@@ -0,0 +1,96 @@
+// Microsoft Visual C++ generated resource script.
+//
+
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+//#include "afxres.h"
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// French (France) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
+#ifdef _WIN32
+LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+END
+
+3 TEXTINCLUDE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 5,5,2,0
+ PRODUCTVERSION 5,5,2,0
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x2L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040c04b0"
+ BEGIN
+ VALUE "FileDescription", "time module"
+ VALUE "FileVersion", "5, 5, 2, 0"
+ VALUE "InternalName", "time module"
+ VALUE "LegalCopyright", "Copyright (C) 2017"
+ VALUE "OriginalFilename", "time.dll"
+ VALUE "ProductName", " time module"
+ VALUE "ProductVersion", "5, 5, 2, 0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x40c, 1200
+ END
+END
+
+#endif // French (France) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/modules/time/src/c/timer.c b/modules/time/src/c/timer.c
new file mode 100755
index 000000000..dd78004a6
--- /dev/null
+++ b/modules/time/src/c/timer.c
@@ -0,0 +1,103 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) INRIA - Allan CORNET
+* Copyright (C) DIGITEO - 2009-2010 - Allan CORNET
+*
+* 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
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#include <stdio.h>
+#include <time.h>
+
+#ifndef _MSC_VER
+#include <sys/time.h>
+#include <sys/resource.h> /* getrusage */
+#else
+#include <windows.h>
+#endif
+#include "timer.h"
+/*
+http://msdn.microsoft.com/en-us/library/ms683223(VS.85).aspx
+http://www.opengroup.org/onlinepubs/000095399/functions/getrusage.html
+*/
+/*--------------------------------------------------------------------------*/
+static double previousTimerValue = 0.0;
+/*--------------------------------------------------------------------------*/
+static int init_clock = 1;
+/*--------------------------------------------------------------------------*/
+int C2F(timer)(double *etime)
+{
+ *etime = scilab_timer();
+ return(0);
+}
+/*--------------------------------------------------------------------------*/
+double scilab_timer(void)
+{
+ double etime = 0.0;
+ double now = 0.0;
+ double usertime = 0.0, systime = 0.0;
+
+#ifdef _MSC_VER
+ FILETIME creation_time, exit_time, kernel_time, user_time;
+ unsigned long long utime, stime;
+
+ GetProcessTimes (GetCurrentProcess (), &creation_time, &exit_time,
+ &kernel_time, &user_time);
+
+ utime = ((unsigned long long) user_time.dwHighDateTime << 32)
+ + (unsigned) user_time.dwLowDateTime;
+
+ stime = ((unsigned long long) kernel_time.dwHighDateTime << 32)
+ + (unsigned) kernel_time.dwLowDateTime;
+
+ usertime = (double)(utime / 1.0e7);
+ systime = (double)(stime / 1.0e7);
+
+ now = (double)(usertime + systime);
+
+ if (init_clock == 1)
+ {
+ init_clock = 0;
+ previousTimerValue = now ;
+ // initialization forced here 0 - 0 > -0 or +0
+ etime = 0.0;
+ }
+#else
+ struct rusage rbuff;
+ getrusage (RUSAGE_SELF, &rbuff);
+
+ usertime = (double)((float) (rbuff.ru_utime).tv_sec +
+ (float) (rbuff.ru_utime).tv_usec / 1000000.0);
+
+ systime = (double)((float) (rbuff.ru_stime).tv_sec +
+ (float) (rbuff.ru_stime).tv_usec / 1000000.0);
+
+ now = (double)(usertime + systime);
+
+ if (init_clock == 1)
+ {
+ init_clock = 0;
+ previousTimerValue = now ;
+ // initialization forced here 0 - 0 > -0 or +0
+ etime = 0.0;
+ }
+#endif
+ else
+ {
+ etime = (double)(now - previousTimerValue);
+ if (etime < 0.0)
+ {
+ previousTimerValue = 0.0;
+ etime = 0.0;
+ }
+ }
+ previousTimerValue = now ;
+ return etime;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/time/tests/benchmarks/bench_calendar.tst b/modules/time/tests/benchmarks/bench_calendar.tst
new file mode 100755
index 000000000..47aa2743a
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_calendar.tst
@@ -0,0 +1,15 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for calendar function
+//==============================================================================
+
+// <-- BENCH START -->
+calendar(1973,8);
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/benchmarks/bench_clock.tst b/modules/time/tests/benchmarks/bench_clock.tst
new file mode 100755
index 000000000..18faf550e
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_clock.tst
@@ -0,0 +1,15 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for clock function
+//==============================================================================
+
+// <-- BENCH START -->
+c = clock();
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/benchmarks/bench_datenum_1.tst b/modules/time/tests/benchmarks/bench_datenum_1.tst
new file mode 100755
index 000000000..89f92f697
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_datenum_1.tst
@@ -0,0 +1,15 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for datenum function
+//==============================================================================
+
+// <-- BENCH START -->
+datenum(2007,12,18,16,30,30);
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/benchmarks/bench_datenum_2.tst b/modules/time/tests/benchmarks/bench_datenum_2.tst
new file mode 100755
index 000000000..519105f1e
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_datenum_2.tst
@@ -0,0 +1,15 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for datenum function
+//==============================================================================
+
+// <-- BENCH START -->
+datenum();
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/benchmarks/bench_datenum_3.tst b/modules/time/tests/benchmarks/bench_datenum_3.tst
new file mode 100755
index 000000000..d7539259c
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_datenum_3.tst
@@ -0,0 +1,15 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for datenum function
+//==============================================================================
+
+// <-- BENCH START -->
+datenum([2007 12 18 16 30 30]);
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/benchmarks/bench_datenum_4.tst b/modules/time/tests/benchmarks/bench_datenum_4.tst
new file mode 100755
index 000000000..c37e1c2db
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_datenum_4.tst
@@ -0,0 +1,22 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for datenum function
+//==============================================================================
+
+// <-- BENCH NB RUN : 1000 -->
+
+nb_field = 5000;
+
+years = int( rand(1:nb_field) * 2500 );
+months = int( rand(1:nb_field) * 12 ) + 1;
+days = int( rand(1:nb_field) * 28 ) + 1;
+
+// <-- BENCH START -->
+datenum(years,months,days);
+// <-- BENCH END -->
diff --git a/modules/time/tests/benchmarks/bench_datevec.tst b/modules/time/tests/benchmarks/bench_datevec.tst
new file mode 100755
index 000000000..474e3cd3e
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_datevec.tst
@@ -0,0 +1,15 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for datevec function
+//==============================================================================
+
+// <-- BENCH START -->
+datevec(720840);
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/benchmarks/bench_eomday.tst b/modules/time/tests/benchmarks/bench_eomday.tst
new file mode 100755
index 000000000..8e79a77a8
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_eomday.tst
@@ -0,0 +1,15 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for eomday function
+//==============================================================================
+
+// <-- BENCH START -->
+eomday(2006,3);
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/benchmarks/bench_getdate.tst b/modules/time/tests/benchmarks/bench_getdate.tst
new file mode 100755
index 000000000..258d49d7e
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_getdate.tst
@@ -0,0 +1,17 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for getdate function
+//==============================================================================
+
+a = rand(10,10) * 2e9;
+
+// <-- BENCH START -->
+w=getdate(a);
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/benchmarks/bench_now.tst b/modules/time/tests/benchmarks/bench_now.tst
new file mode 100755
index 000000000..b858ffe5c
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_now.tst
@@ -0,0 +1,15 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for now function
+//==============================================================================
+
+// <-- BENCH START -->
+t = now();
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/benchmarks/bench_weekday.tst b/modules/time/tests/benchmarks/bench_weekday.tst
new file mode 100755
index 000000000..7f2fd10da
--- /dev/null
+++ b/modules/time/tests/benchmarks/bench_weekday.tst
@@ -0,0 +1,17 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+//==============================================================================
+// Benchmark for weekday function
+//==============================================================================
+
+today = datenum();
+
+// <-- BENCH START -->
+[N,S] = weekday(today);
+// <-- BENCH END -->
+
diff --git a/modules/time/tests/nonreg_tests/bug_10576.dia.ref b/modules/time/tests/nonreg_tests/bug_10576.dia.ref
new file mode 100755
index 000000000..ddf744b2e
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_10576.dia.ref
@@ -0,0 +1,22 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 10576 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=10576
+//
+// <-- Short Description -->
+//
+// getdate (on Windows) did not manage dates after January 19, 2038
+//
+if getos() == "Windows" then
+ t = 1.327D+09; // date: [ 2012. 1. 3. 19. 5. 19. 20. 6. 40. 0]
+ r = t * 2;
+ ref = [ 2054. 2. 6. 37. 6. 6. 15. 13. 20. 0. ];
+ assert_checkequal(getdate(r), ref);
+end
diff --git a/modules/time/tests/nonreg_tests/bug_10576.tst b/modules/time/tests/nonreg_tests/bug_10576.tst
new file mode 100755
index 000000000..984a41acb
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_10576.tst
@@ -0,0 +1,26 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 10576 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=10576
+//
+// <-- Short Description -->
+//
+// getdate (on Windows) did not manage dates after January 19, 2038
+//
+
+if getos() == "Windows" then
+ t = 1.327D+09; // date: [ 2012. 1. 3. 19. 5. 19. 20. 6. 40. 0]
+ r = t * 2;
+ ref = [ 2054. 2. 6. 37. 6. 6. 15. 13. 20. 0. ];
+ assert_checkequal(getdate(r), ref);
+end
+ \ No newline at end of file
diff --git a/modules/time/tests/nonreg_tests/bug_10577.dia.ref b/modules/time/tests/nonreg_tests/bug_10577.dia.ref
new file mode 100755
index 000000000..5532c92e2
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_10577.dia.ref
@@ -0,0 +1,18 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 10577 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=10577
+//
+// <-- Short Description -->
+//
+// getdate did not check input parameter.
+//
+msgerr = msprintf(gettext("%s: Wrong value for input argument #%d: A real expected.\n"),"getdate", 1);
+assert_checkerror("getdate(%i)", msgerr);
diff --git a/modules/time/tests/nonreg_tests/bug_10577.tst b/modules/time/tests/nonreg_tests/bug_10577.tst
new file mode 100755
index 000000000..8545e3493
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_10577.tst
@@ -0,0 +1,21 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 10577 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=10577
+//
+// <-- Short Description -->
+//
+// getdate did not check input parameter.
+//
+
+msgerr = msprintf(gettext("%s: Wrong value for input argument #%d: A real expected.\n"),"getdate", 1);
+assert_checkerror("getdate(%i)", msgerr); \ No newline at end of file
diff --git a/modules/time/tests/nonreg_tests/bug_1249.dia.ref b/modules/time/tests/nonreg_tests/bug_1249.dia.ref
new file mode 100755
index 000000000..b1aa3c973
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1249.dia.ref
@@ -0,0 +1,43 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 1249 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1249
+//
+// <-- Short Description -->
+// When using the command
+// -->calendar()
+// ans =
+//
+//
+// ans(1)
+//
+// Mar 2005
+//
+// ans(2)
+//
+// S M Tu W Th F S
+//
+// ans(3)
+//
+// ! 0. 1. 2. 3. 4. 5. 6. !
+// ! 7. 8. 9. 10. 11. 12. 13. !
+// ! 14. 15. 16. 17. 18. 19. 20. !
+// ! 21. 22. 23. 24. 25. 26. 27. !
+// ! 28. 29. 30. 31. 0. 0. 0. !
+// ...
+current_language = getlanguage();
+setlanguage("en_US"); // This only chance this test pass is to launch it when scilab is in english
+M = calendar(2005,3);
+M1ref = ['Mar 2005'];
+M2ref = [' M Tu W Th F Sat Sun'];
+M3ref = [0,1,2,3,4,5,6;7,8,9,10,11,12,13;14,15,16,17,18,19,20;21,22,23,24,25,26,27;28,29,30,31,0,0,0;0,0,0,0,0,0,0];
+Mref = list(M1ref,M2ref,M3ref );
+if or((Mref<>M) <> [%F,%F,%F]) then bugmes();quit;end
+setlanguage(current_language);
diff --git a/modules/time/tests/nonreg_tests/bug_1249.tst b/modules/time/tests/nonreg_tests/bug_1249.tst
new file mode 100755
index 000000000..3b74218f4
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1249.tst
@@ -0,0 +1,51 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 1249 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1249
+//
+// <-- Short Description -->
+// When using the command
+// -->calendar()
+// ans =
+//
+//
+// ans(1)
+//
+// Mar 2005
+//
+// ans(2)
+//
+// S M Tu W Th F S
+//
+// ans(3)
+//
+// ! 0. 1. 2. 3. 4. 5. 6. !
+// ! 7. 8. 9. 10. 11. 12. 13. !
+// ! 14. 15. 16. 17. 18. 19. 20. !
+// ! 21. 22. 23. 24. 25. 26. 27. !
+// ! 28. 29. 30. 31. 0. 0. 0. !
+// ...
+
+current_language = getlanguage();
+setlanguage("en_US"); // This only chance this test pass is to launch it when scilab is in english
+
+M = calendar(2005,3);
+
+M1ref = ['Mar 2005'];
+M2ref = [' M Tu W Th F Sat Sun'];
+M3ref = [0,1,2,3,4,5,6;7,8,9,10,11,12,13;14,15,16,17,18,19,20;21,22,23,24,25,26,27;28,29,30,31,0,0,0;0,0,0,0,0,0,0];
+
+Mref = list(M1ref,M2ref,M3ref );
+
+if or((Mref<>M) <> [%F,%F,%F]) then pause,end
+
+setlanguage(current_language);
diff --git a/modules/time/tests/nonreg_tests/bug_13188.dia.ref b/modules/time/tests/nonreg_tests/bug_13188.dia.ref
new file mode 100755
index 000000000..381aa3dc8
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_13188.dia.ref
@@ -0,0 +1,23 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2014 - Scilab Enterprises - Adeline CARNIS
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 13188 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=13118
+//
+// <-- Short Description -->
+//
+// The output argument of eomday was not initialized.
+Y = [2011 2012 2013]';
+M = [10 11 3]';
+expected = [31 30 31]';
+assert_checkequal(eomday(Y, M), expected);
+Y = [2011 2012 2013];
+M = [10 11 3];
+expected = [31 30 31];
+assert_checkequal(eomday(Y, M), expected);
diff --git a/modules/time/tests/nonreg_tests/bug_13188.tst b/modules/time/tests/nonreg_tests/bug_13188.tst
new file mode 100755
index 000000000..b1113393c
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_13188.tst
@@ -0,0 +1,27 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2014 - Scilab Enterprises - Adeline CARNIS
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 13188 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=13118
+//
+// <-- Short Description -->
+//
+// The output argument of eomday was not initialized.
+
+Y = [2011 2012 2013]';
+M = [10 11 3]';
+expected = [31 30 31]';
+assert_checkequal(eomday(Y, M), expected);
+
+Y = [2011 2012 2013];
+M = [10 11 3];
+expected = [31 30 31];
+assert_checkequal(eomday(Y, M), expected);
diff --git a/modules/time/tests/nonreg_tests/bug_1505.dia.ref b/modules/time/tests/nonreg_tests/bug_1505.dia.ref
new file mode 100755
index 000000000..28674f0a7
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1505.dia.ref
@@ -0,0 +1,39 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 1505 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1505
+//
+// <-- Short Description -->
+// datenum does not handle years correctly:
+// example:
+// datenum(1971,1,1) - datenum(1970,1,1)
+// returns 0 on my RedHat Linux x86.
+//
+// However
+// datenum(1971,3,1) - datenum(1970,3,1)
+// gives the expected result : 365.2425
+// (The bug only occur for month = 1 and 2)
+//
+// Fabian
+test1 = ( (datenum(1971,1,1) - datenum(1970,1,1)) == 365 )
+ test1 =
+
+ T
+test2 = ( (datenum(1970,2,1) - datenum(1970,1,1)) == 31 )
+ test2 =
+
+ T
+test3 = ( (datenum(1970,1,2) - datenum(1970,1,1)) == 1 )
+ test3 =
+
+ T
+if ~test1 then bugmes();quit;end
+if ~test2 then bugmes();quit;end
+if ~test3 then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_1505.tst b/modules/time/tests/nonreg_tests/bug_1505.tst
new file mode 100755
index 000000000..f3dcf5440
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1505.tst
@@ -0,0 +1,34 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 1505 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1505
+//
+// <-- Short Description -->
+// datenum does not handle years correctly:
+// example:
+// datenum(1971,1,1) - datenum(1970,1,1)
+// returns 0 on my RedHat Linux x86.
+//
+// However
+// datenum(1971,3,1) - datenum(1970,3,1)
+// gives the expected result : 365.2425
+// (The bug only occur for month = 1 and 2)
+//
+// Fabian
+
+test1 = ( (datenum(1971,1,1) - datenum(1970,1,1)) == 365 )
+test2 = ( (datenum(1970,2,1) - datenum(1970,1,1)) == 31 )
+test3 = ( (datenum(1970,1,2) - datenum(1970,1,1)) == 1 )
+
+if ~test1 then pause,end
+if ~test2 then pause,end
+if ~test3 then pause,end
diff --git a/modules/time/tests/nonreg_tests/bug_1506.dia.ref b/modules/time/tests/nonreg_tests/bug_1506.dia.ref
new file mode 100755
index 000000000..1da679c07
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1506.dia.ref
@@ -0,0 +1,38 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 1506 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1506
+//
+// <-- Short Description -->
+// datevec(datenum()) gives wrong result.
+//
+// datevec(datenum()) is supposed to give the actual time, right?
+// On my box (Redhat Linux x86) it now gives
+// ! 2005. 7. 27. 15. 10. 50.249993 !
+//
+// where the date on a unix shell gives:
+// Wed Jul 27 12:02:16 CEST 2005
+//
+// So the date is correct but not the time
+//
+// Fabian
+now_date = getdate();
+one_sec = datenum(now_date(1),now_date(2),now_date(6),now_date(7),now_date(8),30) - datenum(now_date(1),now_date(2),now_date(6),now_date(7),now_date(8),29);
+one_sec_ref = 1/(3600*24);
+test1 = (abs( (one_sec - one_sec_ref) / one_sec ) < 1e-5);
+one_min = datenum(now_date(1),now_date(2),now_date(6),now_date(7),18,now_date(9)) - datenum(now_date(1),now_date(2),now_date(6),now_date(7),17,now_date(9));
+one_min_ref = 1/(60*24);
+test2 = (abs( (one_min - one_min_ref) / one_min ) < 1e-6);
+one_hour = datenum(now_date(1),now_date(2),now_date(6),18,now_date(8),now_date(9)) - datenum(now_date(1),now_date(2),now_date(6),17,now_date(8),now_date(9));
+one_hour_ref = 1/24;
+test3 = (abs( (one_hour - one_hour_ref) / one_hour ) < 1e-8);
+if ~test1 then bugmes();quit;end
+if ~test2 then bugmes();quit;end
+if ~test3 then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_1506.tst b/modules/time/tests/nonreg_tests/bug_1506.tst
new file mode 100755
index 000000000..3ea15abad
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1506.tst
@@ -0,0 +1,45 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 1506 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1506
+//
+// <-- Short Description -->
+// datevec(datenum()) gives wrong result.
+//
+// datevec(datenum()) is supposed to give the actual time, right?
+// On my box (Redhat Linux x86) it now gives
+// ! 2005. 7. 27. 15. 10. 50.249993 !
+//
+// where the date on a unix shell gives:
+// Wed Jul 27 12:02:16 CEST 2005
+//
+// So the date is correct but not the time
+//
+// Fabian
+
+now_date = getdate();
+
+one_sec = datenum(now_date(1),now_date(2),now_date(6),now_date(7),now_date(8),30) - datenum(now_date(1),now_date(2),now_date(6),now_date(7),now_date(8),29);
+one_sec_ref = 1/(3600*24);
+test1 = (abs( (one_sec - one_sec_ref) / one_sec ) < 1e-5);
+
+one_min = datenum(now_date(1),now_date(2),now_date(6),now_date(7),18,now_date(9)) - datenum(now_date(1),now_date(2),now_date(6),now_date(7),17,now_date(9));
+one_min_ref = 1/(60*24);
+test2 = (abs( (one_min - one_min_ref) / one_min ) < 1e-6);
+
+one_hour = datenum(now_date(1),now_date(2),now_date(6),18,now_date(8),now_date(9)) - datenum(now_date(1),now_date(2),now_date(6),17,now_date(8),now_date(9));
+one_hour_ref = 1/24;
+test3 = (abs( (one_hour - one_hour_ref) / one_hour ) < 1e-8);
+
+if ~test1 then pause,end
+if ~test2 then pause,end
+if ~test3 then pause,end
diff --git a/modules/time/tests/nonreg_tests/bug_1625.dia.ref b/modules/time/tests/nonreg_tests/bug_1625.dia.ref
new file mode 100755
index 000000000..1c6b86e6b
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1625.dia.ref
@@ -0,0 +1,28 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 1625 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1625
+//
+// <-- Short Description -->
+// This problem concerns th datenum function:
+// I'm getting the following results
+//
+// -->datenum(1996,12,31)
+// ans =
+//
+// 729389.8
+//
+// -->datenum(1997,1,1)
+// ans =
+//
+// 1.5
+if datenum(1997,1,1) <> 729391 then bugmes();quit;end
+if datenum(1996,12,31) <> floor(datenum(1996,12,31)) then bugmes();quit;end
+if datenum(1997,1,1,23,59,59) - datenum(1997,1,1) >= 1 then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_1625.tst b/modules/time/tests/nonreg_tests/bug_1625.tst
new file mode 100755
index 000000000..e879c444a
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1625.tst
@@ -0,0 +1,31 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 1625 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1625
+//
+// <-- Short Description -->
+// This problem concerns th datenum function:
+// I'm getting the following results
+//
+// -->datenum(1996,12,31)
+// ans =
+//
+// 729389.8
+//
+// -->datenum(1997,1,1)
+// ans =
+//
+// 1.5
+
+if datenum(1997,1,1) <> 729391 then pause,end
+if datenum(1996,12,31) <> floor(datenum(1996,12,31)) then pause,end
+if datenum(1997,1,1,23,59,59) - datenum(1997,1,1) >= 1 then pause,end
diff --git a/modules/time/tests/nonreg_tests/bug_1628.tst b/modules/time/tests/nonreg_tests/bug_1628.tst
new file mode 100755
index 000000000..c400858a1
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1628.tst
@@ -0,0 +1,41 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- INTERACTIVE TEST -->
+
+// <-- Non-regression test for bug 1628 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1628
+//
+// <-- Short Description -->
+// long programs (several hours) I get a negative value for timer()
+
+// compares result with another tools ;)
+// t= cputime; pause(9.9);e=cputime-t
+
+timer();sleep(9900);timer()
+
+// another test
+stacksize('max');
+runs = 50;
+cumulate = 0; a = 0; b = 0;
+for i = 1:runs
+ timer();
+ a = abs(rand(1500, 1500, 'n')/10);
+ b = a';
+ a = matrix(b, 750, 3000);
+ b = a';
+ timing = timer();
+ cumulate = cumulate + timing;
+end;
+timing = cumulate/runs;
+times(1, 1) = timing;
+disp('Creation, transp., deformation of a 1500x1500 matrix (sec): ' + string(timing));
+clear('a'); clear('b');
+
+
diff --git a/modules/time/tests/nonreg_tests/bug_1711.dia.ref b/modules/time/tests/nonreg_tests/bug_1711.dia.ref
new file mode 100755
index 000000000..347f18f39
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1711.dia.ref
@@ -0,0 +1,30 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 1711 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1711
+//
+// <-- Short Description -->
+// datenum() produces incorrect results. For example:
+//
+// -->datenum(2006,1,4)
+// ans =
+//
+// 4.5
+//
+// -->datenum()
+// ans =
+//
+// 4.8753166
+//
+// -->datevec(datenum())
+// ans =
+//
+// - 1. 13. 4. 21. 0. 27.783333
+if datenum(2006,1,4) <> 732681 then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_1711.tst b/modules/time/tests/nonreg_tests/bug_1711.tst
new file mode 100755
index 000000000..61e221b06
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1711.tst
@@ -0,0 +1,33 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 1711 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1711
+//
+// <-- Short Description -->
+// datenum() produces incorrect results. For example:
+//
+// -->datenum(2006,1,4)
+// ans =
+//
+// 4.5
+//
+// -->datenum()
+// ans =
+//
+// 4.8753166
+//
+// -->datevec(datenum())
+// ans =
+//
+// - 1. 13. 4. 21. 0. 27.783333
+
+if datenum(2006,1,4) <> 732681 then pause,end
diff --git a/modules/time/tests/nonreg_tests/bug_1859.dia.ref b/modules/time/tests/nonreg_tests/bug_1859.dia.ref
new file mode 100755
index 000000000..c57360c4d
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1859.dia.ref
@@ -0,0 +1,40 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2006-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 1859 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1859
+//
+// <-- Short Description -->
+// I sent the following commands
+//
+// Year = [2002, 2002];
+// Month = [2, 3];
+// Day = [28, 1];
+// datenum(Year, Month, Day)
+//
+// The SCILAB output is:
+//
+// 731275. 731278.
+//
+// But this seems me incorrect, as 2002-03-01 is just one day following 2002-02-28.
+//
+// Now, if you give the commands
+//
+// datenum(2002,2,28)
+// datenum(2002,3,1)
+//
+// you respectively obtain the two outputs
+//
+// ...
+Year = [2002, 2002];
+Month = [ 2, 3];
+Day = [ 28, 1];
+test = datenum(Year, Month, Day);
+ref = [731275 731276];
+if or(test <> ref) then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_1859.tst b/modules/time/tests/nonreg_tests/bug_1859.tst
new file mode 100755
index 000000000..7be66ad24
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_1859.tst
@@ -0,0 +1,45 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2006-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 1859 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=1859
+//
+// <-- Short Description -->
+// I sent the following commands
+//
+// Year = [2002, 2002];
+// Month = [2, 3];
+// Day = [28, 1];
+// datenum(Year, Month, Day)
+//
+// The SCILAB output is:
+//
+// 731275. 731278.
+//
+// But this seems me incorrect, as 2002-03-01 is just one day following 2002-02-28.
+//
+// Now, if you give the commands
+//
+// datenum(2002,2,28)
+// datenum(2002,3,1)
+//
+// you respectively obtain the two outputs
+//
+// ...
+
+Year = [2002, 2002];
+Month = [ 2, 3];
+Day = [ 28, 1];
+
+test = datenum(Year, Month, Day);
+ref = [731275 731276];
+
+if or(test <> ref) then pause,end
diff --git a/modules/time/tests/nonreg_tests/bug_2270.dia.ref b/modules/time/tests/nonreg_tests/bug_2270.dia.ref
new file mode 100755
index 000000000..36d399984
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_2270.dia.ref
@@ -0,0 +1,21 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- ENGLISH IMPOSED -->
+// <-- Non-regression test for bug 2270 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=2270
+//
+// <-- Short Description -->
+// datenum(Y,M,D) issues an incorrect error message when the third
+// parameter is invalid. The error should say 'The third argument must be
+// between 1 and 31', depending on the actual number of days in that
+// specific month.
+execstr('datenum(2006,12,32)','errcatch');
+error_str = lasterror();
+if stripblanks(error_str) <> "datenum: Wrong value for input argument #3: Must be between 1 and 31." then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_2270.tst b/modules/time/tests/nonreg_tests/bug_2270.tst
new file mode 100755
index 000000000..0c13d518e
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_2270.tst
@@ -0,0 +1,24 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+// <-- ENGLISH IMPOSED -->
+
+// <-- Non-regression test for bug 2270 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=2270
+//
+// <-- Short Description -->
+// datenum(Y,M,D) issues an incorrect error message when the third
+// parameter is invalid. The error should say 'The third argument must be
+// between 1 and 31', depending on the actual number of days in that
+// specific month.
+
+execstr('datenum(2006,12,32)','errcatch');
+error_str = lasterror();
+if stripblanks(error_str) <> "datenum: Wrong value for input argument #3: Must be between 1 and 31." then pause,end
diff --git a/modules/time/tests/nonreg_tests/bug_2786.dia.ref b/modules/time/tests/nonreg_tests/bug_2786.dia.ref
new file mode 100755
index 000000000..77b1e8768
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_2786.dia.ref
@@ -0,0 +1,17 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 2786 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=2786
+//
+// <-- Short Description -->
+// There are two calendar functions with uncompatible syntaxes :
+// Calendar(m,y) calendar(y,m) Only calendar appears in the online help
+cal_ref = [ 0 0 0 0 0 1 2 ; 3 4 5 6 7 8 9 ; 10 11 12 13 14 15 16 ; 17 18 19 20 21 22 23 ; 24 25 26 27 28 29 30 ; 31 0 0 0 0 0 0 ];
+if or(Calendar(2008,3) <> cal_ref) then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_2786.tst b/modules/time/tests/nonreg_tests/bug_2786.tst
new file mode 100755
index 000000000..d7a7eab16
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_2786.tst
@@ -0,0 +1,21 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 2786 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=2786
+//
+// <-- Short Description -->
+// There are two calendar functions with uncompatible syntaxes :
+// Calendar(m,y) calendar(y,m) Only calendar appears in the online help
+
+
+cal_ref = [ 0 0 0 0 0 1 2 ; 3 4 5 6 7 8 9 ; 10 11 12 13 14 15 16 ; 17 18 19 20 21 22 23 ; 24 25 26 27 28 29 30 ; 31 0 0 0 0 0 0 ];
+if or(Calendar(2008,3) <> cal_ref) then pause, end
diff --git a/modules/time/tests/nonreg_tests/bug_4663.dia.ref b/modules/time/tests/nonreg_tests/bug_4663.dia.ref
new file mode 100755
index 000000000..d7eb08251
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_4663.dia.ref
@@ -0,0 +1,17 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 4663 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=4663
+//
+// <-- Short Description -->
+//
+// the call to the timer function prints an error message when the elapsed time between 2 calls is really small.
+ierr = execstr('timer();timer();timer();','errcatch');
+if ierr <> 0 then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_4663.tst b/modules/time/tests/nonreg_tests/bug_4663.tst
new file mode 100755
index 000000000..4dbb4e943
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_4663.tst
@@ -0,0 +1,21 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 4663 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=4663
+//
+// <-- Short Description -->
+//
+// the call to the timer function prints an error message when the elapsed time between 2 calls is really small.
+
+ierr = execstr('timer();timer();timer();','errcatch');
+if ierr <> 0 then pause,end
+
diff --git a/modules/time/tests/nonreg_tests/bug_6400.dia.ref b/modules/time/tests/nonreg_tests/bug_6400.dia.ref
new file mode 100755
index 000000000..9d71878ea
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_6400.dia.ref
@@ -0,0 +1,19 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 6400 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=6400
+//
+// <-- Short Description -->
+//
+// Msecs not correctly handled in datevec/datenum functions
+// Error is raised when datenum input is a time with 59 sec and not null msec.
+if execstr("datenum(2009,5,1,9,58,59.807998);","errcatch") <> 0 then bugmes();quit;end
+if execstr("datenum([2009 5 1 9 58 59.807998]);","errcatch") <> 0 then bugmes();quit;end
+if execstr("datenum(datevec(733894.41597));","errcatch") <> 0 then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_6400.tst b/modules/time/tests/nonreg_tests/bug_6400.tst
new file mode 100755
index 000000000..d3f959c1f
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_6400.tst
@@ -0,0 +1,22 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 6400 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=6400
+//
+// <-- Short Description -->
+//
+// Msecs not correctly handled in datevec/datenum functions
+// Error is raised when datenum input is a time with 59 sec and not null msec.
+
+if execstr("datenum(2009,5,1,9,58,59.807998);","errcatch") <> 0 then pause,end
+if execstr("datenum([2009 5 1 9 58 59.807998]);","errcatch") <> 0 then pause,end
+if execstr("datenum(datevec(733894.41597));","errcatch") <> 0 then pause,end
diff --git a/modules/time/tests/nonreg_tests/bug_793.dia.ref b/modules/time/tests/nonreg_tests/bug_793.dia.ref
new file mode 100755
index 000000000..e1a468169
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_793.dia.ref
@@ -0,0 +1,16 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) ????-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// <-- Non-regression test for bug 793 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=793
+//
+// <-- Short Description -->
+// Getdate crashes scilab with negative arguments
+err = execstr("getdate(-1)","errcatch");
+if err <> 999 then bugmes();quit;end
diff --git a/modules/time/tests/nonreg_tests/bug_793.tst b/modules/time/tests/nonreg_tests/bug_793.tst
new file mode 100755
index 000000000..278508796
--- /dev/null
+++ b/modules/time/tests/nonreg_tests/bug_793.tst
@@ -0,0 +1,19 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) ????-2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// <-- Non-regression test for bug 793 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=793
+//
+// <-- Short Description -->
+// Getdate crashes scilab with negative arguments
+
+err = execstr("getdate(-1)","errcatch");
+if err <> 999 then pause,end
diff --git a/modules/time/tests/unit_tests/calendar.dia.ref b/modules/time/tests/unit_tests/calendar.dia.ref
new file mode 100755
index 000000000..3fa3b884f
--- /dev/null
+++ b/modules/time/tests/unit_tests/calendar.dia.ref
@@ -0,0 +1,19 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// unit tests for calendar function
+// =============================================================================
+current_language = getlanguage();
+setlanguage("en_US"); // This only chance this test pass is to launch it when scilab is in english
+cal = calendar(2005,12);
+title_ref = "Dec 2005";
+week_ref = " M Tu W Th F Sat Sun";
+cal_ref = [0,0,0,1,2,3,4;5,6,7,8,9,10,11;12,13,14,15,16,17,18;19,20,21,22,23,24,25;26,27,28,29,30,31,0;0,0,0,0,0,0,0];
+if cal(1) <> title_ref then bugmes();quit;end
+if cal(2) <> week_ref then bugmes();quit;end
+if or(cal(3) <> cal_ref) then bugmes();quit;end
+setlanguage(current_language);
diff --git a/modules/time/tests/unit_tests/calendar.tst b/modules/time/tests/unit_tests/calendar.tst
new file mode 100755
index 000000000..82cb40ca1
--- /dev/null
+++ b/modules/time/tests/unit_tests/calendar.tst
@@ -0,0 +1,26 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// unit tests for calendar function
+// =============================================================================
+
+current_language = getlanguage();
+setlanguage("en_US"); // This only chance this test pass is to launch it when scilab is in english
+
+cal = calendar(2005,12);
+
+title_ref = "Dec 2005";
+week_ref = " M Tu W Th F Sat Sun";
+cal_ref = [0,0,0,1,2,3,4;5,6,7,8,9,10,11;12,13,14,15,16,17,18;19,20,21,22,23,24,25;26,27,28,29,30,31,0;0,0,0,0,0,0,0];
+
+if cal(1) <> title_ref then pause,end
+if cal(2) <> week_ref then pause,end
+if or(cal(3) <> cal_ref) then pause,end
+
+setlanguage(current_language);
diff --git a/modules/time/tests/unit_tests/datenum.dia.ref b/modules/time/tests/unit_tests/datenum.dia.ref
new file mode 100755
index 000000000..c0ccf1623
--- /dev/null
+++ b/modules/time/tests/unit_tests/datenum.dia.ref
@@ -0,0 +1,24 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// unit tests for datenum function
+// =============================================================================
+if datenum(0,1,1) <> 1 then bugmes();quit;end
+if datenum(1973,8,4) <> 720840 then bugmes();quit;end
+if datenum(1970,1,1) <> 719529 then bugmes();quit;end
+if abs((datenum(2005,12,28,11,49,54) - 732674.49298611108)/ datenum(2005,12,28,11,49,54)) > %eps then bugmes();quit;end
+now_date = getdate();
+one_sec = datenum(now_date(1),now_date(2),now_date(6),now_date(7),now_date(8),30) - datenum(now_date(1),now_date(2),now_date(6),now_date(7),now_date(8),29);
+one_sec_ref = 1/(3600*24);
+if abs( (one_sec - one_sec_ref) / one_sec ) > 1e-5 then bugmes();quit;end
+one_min = datenum(now_date(1),now_date(2),now_date(6),now_date(7),18,now_date(9)) - datenum(now_date(1),now_date(2),now_date(6),now_date(7),17,now_date(9));
+one_min_ref = 1/(60*24);
+if abs( (one_min - one_min_ref) / one_min ) > 1e-6 then bugmes();quit;end
+one_hour = datenum(now_date(1),now_date(2),now_date(6),18,now_date(8),now_date(9)) - datenum(now_date(1),now_date(2),now_date(6),17,now_date(8),now_date(9));
+one_hour_ref = 1/24;
+if abs( (one_hour - one_hour_ref) / one_hour ) > 1e-8 then bugmes();quit;end
+if floor(datenum(2005,12,28)) <> datenum(2005,12,28) then bugmes();quit;end
diff --git a/modules/time/tests/unit_tests/datenum.tst b/modules/time/tests/unit_tests/datenum.tst
new file mode 100755
index 000000000..2abcd4972
--- /dev/null
+++ b/modules/time/tests/unit_tests/datenum.tst
@@ -0,0 +1,34 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// unit tests for datenum function
+// =============================================================================
+
+if datenum(0,1,1) <> 1 then pause,end
+
+if datenum(1973,8,4) <> 720840 then pause,end
+if datenum(1970,1,1) <> 719529 then pause,end
+
+if abs((datenum(2005,12,28,11,49,54) - 732674.49298611108)/ datenum(2005,12,28,11,49,54)) > %eps then pause,end
+
+now_date = getdate();
+
+one_sec = datenum(now_date(1),now_date(2),now_date(6),now_date(7),now_date(8),30) - datenum(now_date(1),now_date(2),now_date(6),now_date(7),now_date(8),29);
+one_sec_ref = 1/(3600*24);
+if abs( (one_sec - one_sec_ref) / one_sec ) > 1e-5 then pause,end
+
+one_min = datenum(now_date(1),now_date(2),now_date(6),now_date(7),18,now_date(9)) - datenum(now_date(1),now_date(2),now_date(6),now_date(7),17,now_date(9));
+one_min_ref = 1/(60*24);
+if abs( (one_min - one_min_ref) / one_min ) > 1e-6 then pause,end
+
+one_hour = datenum(now_date(1),now_date(2),now_date(6),18,now_date(8),now_date(9)) - datenum(now_date(1),now_date(2),now_date(6),17,now_date(8),now_date(9));
+one_hour_ref = 1/24;
+if abs( (one_hour - one_hour_ref) / one_hour ) > 1e-8 then pause,end
+
+if floor(datenum(2005,12,28)) <> datenum(2005,12,28) then pause,end
diff --git a/modules/time/tests/unit_tests/datevec.dia.ref b/modules/time/tests/unit_tests/datevec.dia.ref
new file mode 100755
index 000000000..f4ba6ca5e
--- /dev/null
+++ b/modules/time/tests/unit_tests/datevec.dia.ref
@@ -0,0 +1,31 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// unit tests for datevec function
+// =============================================================================
+if datevec(1) <> [0,1,1,0,0,0] then bugmes();quit;end
+if datevec(719529) <> [1970,1,1,0,0,0] then bugmes();quit;end
+in = [ 158493 247745 637308 ; 567032 499035 514298 ; 165 471293 658662 ];
+out = [ 433 12 8 0 0 0; ..
+ 1552 6 24 0 0 0 ; ..
+ 0 6 13 0 0 0 ; ..
+ 678 4 20 0 0 0 ; ..
+ 1366 4 23 0 0 0 ; ..
+ 1290 5 9 0 0 0 ; ..
+ 1744 11 20 0 0 0 ; ..
+ 1408 2 6 0 0 0 ; ..
+ 1803 5 10 0 0 0];
+if datevec(in) <> out then bugmes();quit;end
+in = [ 250000 500000 750000 1000000 ];
+out = datevec(in);
+if size(out) <> [ 4 6 ] then bugmes();quit;end
+in = [ 250000 500000 ; 750000 1000000 ];
+out = datevec(in);
+if size(out) <> [ 4 6 ] then bugmes();quit;end
+in = [ 250000 ; 500000 ; 750000 ; 1000000 ];
+out = datevec(in);
+if size(out) <> [ 4 6 ] then bugmes();quit;end
diff --git a/modules/time/tests/unit_tests/datevec.tst b/modules/time/tests/unit_tests/datevec.tst
new file mode 100755
index 000000000..46a08847c
--- /dev/null
+++ b/modules/time/tests/unit_tests/datevec.tst
@@ -0,0 +1,40 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// unit tests for datevec function
+// =============================================================================
+
+if datevec(1) <> [0,1,1,0,0,0] then pause,end
+if datevec(719529) <> [1970,1,1,0,0,0] then pause,end
+
+in = [ 158493 247745 637308 ; 567032 499035 514298 ; 165 471293 658662 ];
+out = [ 433 12 8 0 0 0; ..
+ 1552 6 24 0 0 0 ; ..
+ 0 6 13 0 0 0 ; ..
+ 678 4 20 0 0 0 ; ..
+ 1366 4 23 0 0 0 ; ..
+ 1290 5 9 0 0 0 ; ..
+ 1744 11 20 0 0 0 ; ..
+ 1408 2 6 0 0 0 ; ..
+ 1803 5 10 0 0 0];
+
+if datevec(in) <> out then pause,end
+
+in = [ 250000 500000 750000 1000000 ];
+out = datevec(in);
+if size(out) <> [ 4 6 ] then pause,end
+
+in = [ 250000 500000 ; 750000 1000000 ];
+out = datevec(in);
+if size(out) <> [ 4 6 ] then pause,end
+
+
+in = [ 250000 ; 500000 ; 750000 ; 1000000 ];
+out = datevec(in);
+if size(out) <> [ 4 6 ] then pause,end
diff --git a/modules/time/tests/unit_tests/eomday.dia.ref b/modules/time/tests/unit_tests/eomday.dia.ref
new file mode 100755
index 000000000..cc1a35578
--- /dev/null
+++ b/modules/time/tests/unit_tests/eomday.dia.ref
@@ -0,0 +1,33 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// unit tests for eomday function
+// =============================================================================
+// Error messages
+errmsg = msprintf(gettext("%s: Wrong number of input argument(s): %d expected.\n"),"eomday", 2);
+assert_checkerror("eomday()", errmsg);
+assert_checkerror("eomday()", errmsg);
+errmsg = msprintf(gettext("%s: Wrong value for input argument #%d: An integer value expected.\n"), "eomday", 1);
+assert_checkerror("eomday(""toto"", 1)", errmsg);
+assert_checkerror("eomday(12.5, 1)", errmsg);
+assert_checkerror("eomday(%i, 1)", errmsg);
+errmsg = msprintf(gettext("%s: Wrong value for input argument #%d: An integer value expected.\n"), "eomday", 2);
+assert_checkerror("eomday(2000, ""toto"")", errmsg);
+assert_checkerror("eomday(2000, 5.5)", errmsg);
+assert_checkerror("eomday(2000, %i)", errmsg);
+errmsg = msprintf(gettext("%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"),"eomday", 1, 2);
+assert_checkerror("eomday(1, [1 2])", errmsg);
+errmsg = msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"eomday",2,1,12);
+assert_checkerror("eomday(2000, 0)", errmsg);
+assert_checkerror("eomday(2000, 13)", errmsg);
+years = 1900:1999;
+[nr,nc] = size(years);
+months = 2 * ones(nr,nc);
+E = eomday(years,months);
+test = years(find(E == 29));
+test_ref = [ 1904 1908 1912 1916 1920 1924 1928 1932 1936 1940 1944 1948 1952 1956 1960 1964 1968 1972 1976 1980 1984 1988 1992 1996 ];
+assert_checkequal(test, test_ref);
diff --git a/modules/time/tests/unit_tests/eomday.tst b/modules/time/tests/unit_tests/eomday.tst
new file mode 100755
index 000000000..d071ed2b8
--- /dev/null
+++ b/modules/time/tests/unit_tests/eomday.tst
@@ -0,0 +1,40 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// unit tests for eomday function
+// =============================================================================
+
+// Error messages
+errmsg = msprintf(gettext("%s: Wrong number of input argument(s): %d expected.\n"),"eomday", 2);
+assert_checkerror("eomday()", errmsg);
+assert_checkerror("eomday()", errmsg);
+errmsg = msprintf(gettext("%s: Wrong value for input argument #%d: An integer value expected.\n"), "eomday", 1);
+assert_checkerror("eomday(""toto"", 1)", errmsg);
+assert_checkerror("eomday(12.5, 1)", errmsg);
+assert_checkerror("eomday(%i, 1)", errmsg);
+errmsg = msprintf(gettext("%s: Wrong value for input argument #%d: An integer value expected.\n"), "eomday", 2);
+assert_checkerror("eomday(2000, ""toto"")", errmsg);
+assert_checkerror("eomday(2000, 5.5)", errmsg);
+assert_checkerror("eomday(2000, %i)", errmsg);
+errmsg = msprintf(gettext("%s: Wrong size for input arguments #%d and #%d: Same sizes expected.\n"),"eomday", 1, 2);
+assert_checkerror("eomday(1, [1 2])", errmsg);
+errmsg = msprintf(gettext("%s: Wrong value for input argument #%d: Must be between %d and %d.\n"),"eomday",2,1,12);
+assert_checkerror("eomday(2000, 0)", errmsg);
+assert_checkerror("eomday(2000, 13)", errmsg);
+
+years = 1900:1999;
+
+[nr,nc] = size(years);
+months = 2 * ones(nr,nc);
+
+E = eomday(years,months);
+test = years(find(E == 29));
+test_ref = [ 1904 1908 1912 1916 1920 1924 1928 1932 1936 1940 1944 1948 1952 1956 1960 1964 1968 1972 1976 1980 1984 1988 1992 1996 ];
+
+assert_checkequal(test, test_ref);
diff --git a/modules/time/tests/unit_tests/getdate.dia.ref b/modules/time/tests/unit_tests/getdate.dia.ref
new file mode 100755
index 000000000..0f84ba971
--- /dev/null
+++ b/modules/time/tests/unit_tests/getdate.dia.ref
@@ -0,0 +1,49 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// unit tests for getdate function
+// =============================================================================
+dt = getdate(0);
+if dt(1) <> 1970 then bugmes();quit;end
+if dt(2) <> 1 then bugmes();quit;end
+if dt(3) <> 1 then bugmes();quit;end
+if dt(4) <> 1 then bugmes();quit;end
+if dt(5) <> 5 then bugmes();quit;end
+if dt(6) <> 1 then bugmes();quit;end
+if dt(7) <> 1 then bugmes();quit;end
+if dt(8) <> 0 then bugmes();quit;end
+if dt(9) <> 0 then bugmes();quit;end
+if dt(10) <> 0 then bugmes();quit;end
+dt = getdate(1);
+if dt(1) <> 1970 then bugmes();quit;end
+if dt(2) <> 1 then bugmes();quit;end
+if dt(3) <> 1 then bugmes();quit;end
+if dt(4) <> 1 then bugmes();quit;end
+if dt(5) <> 5 then bugmes();quit;end
+if dt(6) <> 1 then bugmes();quit;end
+if dt(7) <> 1 then bugmes();quit;end
+if dt(8) <> 0 then bugmes();quit;end
+if dt(9) <> 1 then bugmes();quit;end
+if dt(10) <> 0 then bugmes();quit;end
+dt = getdate(90542256);
+if dt(1) <> 1972 then bugmes();quit;end
+if dt(2) <> 11 then bugmes();quit;end
+if dt(4) <> 318 then bugmes();quit;end
+if dt(5) <> 2 then bugmes();quit;end
+if dt(6) <> 13 then bugmes();quit;end
+if dt(7) <> 23 then bugmes();quit;end
+if dt(8) <> 37 then bugmes();quit;end
+if dt(9) <> 36 then bugmes();quit;end
+t1_ref = getdate("s");
+t2_ref = datenum();
+t3_ref = getdate();
+t1 = t1_ref;
+t2 = (t2_ref - datenum(1970,1,1,1,0,0)) *3600*24;
+t3 = (datenum(t3_ref(1),t3_ref(2),t3_ref(6),t3_ref(7),t3_ref(8),t3_ref(9)) - datenum(1970,1,1,1,0,0)) * 3600 * 24;
+if ((abs(t2-t1) > 1) & (abs(t2-t1)-3600 > 1)) then bugmes();quit;end
+if ((abs(t3-t1) > 1) & (abs(t3-t1)-3600 > 1)) then bugmes();quit;end
+if ((abs(t3-t2) > 1) & (abs(t3-t2)-3600 > 1)) then bugmes();quit;end
diff --git a/modules/time/tests/unit_tests/getdate.tst b/modules/time/tests/unit_tests/getdate.tst
new file mode 100755
index 000000000..1c880436d
--- /dev/null
+++ b/modules/time/tests/unit_tests/getdate.tst
@@ -0,0 +1,57 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// unit tests for getdate function
+// =============================================================================
+
+dt = getdate(0);
+if dt(1) <> 1970 then pause,end
+if dt(2) <> 1 then pause,end
+if dt(3) <> 1 then pause,end
+if dt(4) <> 1 then pause,end
+if dt(5) <> 5 then pause,end
+if dt(6) <> 1 then pause,end
+if dt(7) <> 1 then pause,end
+if dt(8) <> 0 then pause,end
+if dt(9) <> 0 then pause,end
+if dt(10) <> 0 then pause,end
+
+dt = getdate(1);
+if dt(1) <> 1970 then pause,end
+if dt(2) <> 1 then pause,end
+if dt(3) <> 1 then pause,end
+if dt(4) <> 1 then pause,end
+if dt(5) <> 5 then pause,end
+if dt(6) <> 1 then pause,end
+if dt(7) <> 1 then pause,end
+if dt(8) <> 0 then pause,end
+if dt(9) <> 1 then pause,end
+if dt(10) <> 0 then pause,end
+
+dt = getdate(90542256);
+if dt(1) <> 1972 then pause,end
+if dt(2) <> 11 then pause,end
+if dt(4) <> 318 then pause,end
+if dt(5) <> 2 then pause,end
+if dt(6) <> 13 then pause,end
+if dt(7) <> 23 then pause,end
+if dt(8) <> 37 then pause,end
+if dt(9) <> 36 then pause,end
+
+t1_ref = getdate("s");
+t2_ref = datenum();
+t3_ref = getdate();
+
+t1 = t1_ref;
+t2 = (t2_ref - datenum(1970,1,1,1,0,0)) *3600*24;
+t3 = (datenum(t3_ref(1),t3_ref(2),t3_ref(6),t3_ref(7),t3_ref(8),t3_ref(9)) - datenum(1970,1,1,1,0,0)) * 3600 * 24;
+
+if ((abs(t2-t1) > 1) & (abs(t2-t1)-3600 > 1)) then pause,end
+if ((abs(t3-t1) > 1) & (abs(t3-t1)-3600 > 1)) then pause,end
+if ((abs(t3-t2) > 1) & (abs(t3-t2)-3600 > 1)) then pause,end
diff --git a/modules/time/tests/unit_tests/isLeapYear.dia.ref b/modules/time/tests/unit_tests/isLeapYear.dia.ref
new file mode 100755
index 000000000..b02ae0d60
--- /dev/null
+++ b/modules/time/tests/unit_tests/isLeapYear.dia.ref
@@ -0,0 +1,12 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// unit tests for isLeapYear function
+// =============================================================================
+years = [ 1900 1950 2000 2001 2004 ];
+res = [ %F %F %T %F %T ];
+if isLeapYear(years) <> res then bugmes();quit;end
diff --git a/modules/time/tests/unit_tests/isLeapYear.tst b/modules/time/tests/unit_tests/isLeapYear.tst
new file mode 100755
index 000000000..32681a944
--- /dev/null
+++ b/modules/time/tests/unit_tests/isLeapYear.tst
@@ -0,0 +1,16 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// unit tests for isLeapYear function
+// =============================================================================
+
+years = [ 1900 1950 2000 2001 2004 ];
+res = [ %F %F %T %F %T ];
+
+if isLeapYear(years) <> res then pause,end
diff --git a/modules/time/tests/unit_tests/timer.dia.ref b/modules/time/tests/unit_tests/timer.dia.ref
new file mode 100755
index 000000000..1150359ff
--- /dev/null
+++ b/modules/time/tests/unit_tests/timer.dia.ref
@@ -0,0 +1,11 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- CLI SHELL MODE -->
+// timer
+timer();
+for i=1:100000,end;
+if timer()<=0 then bugmes();quit;end
diff --git a/modules/time/tests/unit_tests/timer.tst b/modules/time/tests/unit_tests/timer.tst
new file mode 100755
index 000000000..7a97cc5a5
--- /dev/null
+++ b/modules/time/tests/unit_tests/timer.tst
@@ -0,0 +1,14 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+
+// timer
+
+timer();
+for i=1:100000,end;
+if timer()<=0 then pause,end
diff --git a/modules/time/time.iss b/modules/time/time.iss
new file mode 100755
index 000000000..05a37f16d
--- /dev/null
+++ b/modules/time/time.iss
@@ -0,0 +1,46 @@
+;
+; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+; Copyright (C) INRIA - Allan CORNET
+; Copyright (C) DIGITEO - 2010 - Allan CORNET
+;
+; 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
+;
+;--------------------------------------------------------------------------------------------------------------
+; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required)
+;
+;--------------------------------------------------------------------------------------------------------------
+; time module
+;--------------------------------------------------------------------------------------------------------------
+;
+#define TIME "time"
+;
+Source: bin\{#TIME}.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB}
+Source: bin\{#TIME}.lib; DestDir: {app}\bin; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#TIME}\license.txt; DestDir: {app}\modules\{#TIME}; Components: {#COMPN_SCILAB}
+;
+;Source: modules\{#TIME}\includes\*.h; DestDir: {app}\modules\{#TIME}\includes; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\includes\realtime.h; DestDir: {app}\modules\{#TIME}\includes; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\includes\timer.h; DestDir: {app}\modules\{#TIME}\includes; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\includes\dynlib_time.h; DestDir: {app}\modules\{#TIME}\includes; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#TIME}\sci_gateway\{#TIME}_gateway.xml; DestDir: {app}\modules\{#TIME}\sci_gateway; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#TIME}\etc\{#TIME}.quit; DestDir: {app}\modules\{#TIME}\etc; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\etc\{#TIME}.start; DestDir: {app}\modules\{#TIME}\etc; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#TIME}\macros\buildmacros.sce; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\macros\buildmacros.bat; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\macros\cleanmacros.bat; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\macros\*.bin; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\macros\*.sci; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\macros\lib; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\macros\names; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#TIME}\tests\*.*; DestDir: {app}\modules\{#TIME}\tests; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_TESTS}
+;
+;--------------------------------------------------------------------------------------------------------------
diff --git a/modules/time/time.vcxproj b/modules/time/time.vcxproj
new file mode 100755
index 000000000..d59c55de1
--- /dev/null
+++ b/modules/time/time.vcxproj
@@ -0,0 +1,249 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{05D8F60B-332A-4161-B946-B8AB30ED439C}</ProjectGuid>
+ <RootNamespace>time</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>includes;src/c;../core/includes;../output_stream/includes;../localization/includes;../../libs/intl;../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;TIME_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ </ClCompile>
+ <PreLinkEvent>
+ <Message>Make dependencies</Message>
+ <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+ </PreLinkEvent>
+ <Link>
+ <AdditionalDependencies>core.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <ModuleDefinitionFile>time_export.def</ModuleDefinitionFile>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX86</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <Midl>
+ <TargetEnvironment>X64</TargetEnvironment>
+ </Midl>
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>includes;src/c;../core/includes;../output_stream/includes;../localization/includes;../../libs/intl;../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;TIME_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ </ClCompile>
+ <PreLinkEvent>
+ <Message>Make dependencies</Message>
+ <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+ </PreLinkEvent>
+ <Link>
+ <AdditionalDependencies>core.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <ModuleDefinitionFile>time_export.def</ModuleDefinitionFile>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX64</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <AdditionalIncludeDirectories>includes;src/c;../core/includes;../output_stream/includes;../localization/includes;../../libs/intl;../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;TIME_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <StringPooling>true</StringPooling>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <WarningLevel>Level3</WarningLevel>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ </ClCompile>
+ <PreLinkEvent>
+ <Message>Make dependencies</Message>
+ <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+ </PreLinkEvent>
+ <Link>
+ <AdditionalDependencies>core.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <ModuleDefinitionFile>time_export.def</ModuleDefinitionFile>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX86</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Midl>
+ <TargetEnvironment>X64</TargetEnvironment>
+ </Midl>
+ <ClCompile>
+ <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <AdditionalIncludeDirectories>includes;src/c;../core/includes;../output_stream/includes;../localization/includes;../../libs/intl;../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;TIME_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <StringPooling>true</StringPooling>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <WarningLevel>Level3</WarningLevel>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ </ClCompile>
+ <PreLinkEvent>
+ <Message>Make dependencies</Message>
+ <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+ </PreLinkEvent>
+ <Link>
+ <AdditionalDependencies>core.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <ModuleDefinitionFile>time_export.def</ModuleDefinitionFile>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX64</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="src\c\DllmainTime.c" />
+ <ClCompile Include="src\c\getdate.c" />
+ <ClCompile Include="sci_gateway\c\gw_time.c" />
+ <ClCompile Include="src\c\realtime.c" />
+ <ClCompile Include="sci_gateway\c\sci_calendar.c" />
+ <ClCompile Include="sci_gateway\c\sci_getdate.c" />
+ <ClCompile Include="sci_gateway\c\sci_realtime.c" />
+ <ClCompile Include="sci_gateway\c\sci_sleep.c" />
+ <ClCompile Include="sci_gateway\c\sci_timer.c" />
+ <ClCompile Include="sci_gateway\c\sci_xpause.c" />
+ <ClCompile Include="src\c\timer.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="includes\dynlib_time.h" />
+ <ClInclude Include="includes\gw_time.h" />
+ <ClInclude Include="includes\realtime.h" />
+ <ClInclude Include="includes\timer.h" />
+ <ClInclude Include="src\c\getdate.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="src\c\time.rc" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="core_import.def" />
+ <None Include="locales\time.pot" />
+ <None Include="time_export.def" />
+ <None Include="Makefile.am" />
+ <None Include="time.iss" />
+ <None Include="sci_gateway\time_gateway.xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\tools\Dumpexts\Dumpexts.vcxproj">
+ <Project>{3170e4c2-1173-4264-a222-7ee8ccb3ddf7}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ <ProjectReference Include="..\api_scilab\api_scilab.vcxproj">
+ <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\localization\src\localization.vcxproj">
+ <Project>{ecffeb0c-1eda-45ee-9a10-b18143852e17}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ <ProjectReference Include="..\output_stream\src\c\output_stream.vcxproj">
+ <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project> \ No newline at end of file
diff --git a/modules/time/time.vcxproj.filters b/modules/time/time.vcxproj.filters
new file mode 100755
index 000000000..6a78b43d7
--- /dev/null
+++ b/modules/time/time.vcxproj.filters
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+ </Filter>
+ <Filter Include="localization">
+ <UniqueIdentifier>{60ed7a50-028b-4c50-b452-1f55bbd73b30}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Libraries Dependencies">
+ <UniqueIdentifier>{f63b9538-b5e7-47bc-b711-1bf065ee6623}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Libraries Dependencies\Imports">
+ <UniqueIdentifier>{a18067d4-a625-4998-a983-82dadeac2186}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Libraries Dependencies\Export">
+ <UniqueIdentifier>{79cde9b0-abed-43dd-ac60-dc612938cdc9}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="src\c\DllmainTime.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\getdate.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\gw_time.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\realtime.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_calendar.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_getdate.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_realtime.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_sleep.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_timer.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_xpause.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\timer.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="includes\dynlib_time.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\gw_time.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\realtime.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\timer.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\getdate.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="src\c\time.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="core_import.def">
+ <Filter>Libraries Dependencies\Imports</Filter>
+ </None>
+ <None Include="time_export.def">
+ <Filter>Libraries Dependencies\Export</Filter>
+ </None>
+ <None Include="Makefile.am" />
+ <None Include="time.iss" />
+ <None Include="sci_gateway\time_gateway.xml" />
+ <None Include="locales\time.pot">
+ <Filter>localization</Filter>
+ </None>
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/modules/time/time_export.def b/modules/time/time_export.def
new file mode 100755
index 000000000..b98c33b17
--- /dev/null
+++ b/modules/time/time_export.def
@@ -0,0 +1,13 @@
+LIBRARY time.dll
+
+
+EXPORTS
+; ---------------------------------------
+; time explicit export (SEP 35)
+; ---------------------------------------
+ scilab_timer
+ timer_
+ realtimeinit_
+ realtime_
+; ---------------------------------------
+ \ No newline at end of file