<< Time and Date Time and Date clock >>

Scilab Help >> Time and Date > calendar

calendar

カレンダー

呼び出し手順

calendar
calendar(y, m)
c = calendar()
c = calendar(y,m)

設定

y

integer in [1800 3000]: The Gregorian year.

m

integer in [1, 12]: The month.

c

list, with
c(1):single string: The calendar title
c(2):single string: Days names
c(3):6x7 matrix of days indices in the month (0 for days out of the month)

The title and days names are translated according to the current language.

説明

calendar displays in the console the calendar of the current month.

calendar(y, m) displays in the console the calendar of the month m for the year y.

c = calendar() は現在の月に関するカレンダーを含むリストを返します. 週は月曜日に始まり、日曜日に終わる.

c = calendar(y,m), ただし, y および m は整数で, 指定した年の 指定した月のカレンダーを返します.

c = calendar()
--> c = calendar()
 c  =
       c(1)
 12月 2019

       c(2)
 月   火   水    木   金    土   日

       c(3)
   0.    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. 

calendar
--> calendar
 
             12月 2019
 月   火   水    木   金    土   日
                                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                         

calendar(1973, 8)
--> calendar(1973, 8)
 
             8月 1973
 月   火   水    木   金    土   日
            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          

参照

履歴

VersionDescription
6.1 Formated display in the console added.

Report an issue
<< Time and Date Time and Date clock >>