Yet Another Calendar

版本 1.0.0.0 (4.2 KB) 作者: Olivier
A new calendar date picker using nested functions
2.7K 次下载
更新时间 2007/8/14

查看许可证

UICAL is an implementation of a calendar date picker which uses the power of the nested functions.
UICAL is easily customizable in terms of colors and even languages. In fact you can easily add you own set of languages.

Enjoy !

RES = UICAL() displays the calendar in English with the today's date
selected. RES is a 3-elements vector containing the year, month and day
the user selected.

RES = UICAL(SDATE) displays the calendar in English with SDATE date
selected. SDATE can be either a serial date number or a 3-elements vector
containing year, month and day in this order.

RES = UICAL(SDATE,LANG) displays the calendar in the language specified by
LANG with SDATE date selected.
Default available languages are English and French but you can easily add
your own by editing the SET_LANGUAGES nested function at the bottom of this
file.


Customization Tips:
You can customize the colors of the calendar by editing the "Colors" section
at the begining of the main function. See comments there for more details.

Examples:

myDate = uical()

myDate = uical(now+7)

myDate = uical([1980 7 24],'fr')

引用格式

Olivier (2024). Yet Another Calendar (https://www.mathworks.com/matlabcentral/fileexchange/15913-yet-another-calendar), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Language Fundamentals 的更多信息
致谢

启发作品: Yahoo! Finance Data Loader

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

I change the format of the output argument.
UICAL now returns a serial date number