Code covered by the BSD License  

Highlights from
Yet Another Calendar

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 4.2 KB File ID: #15913
image thumbnail

Yet Another Calendar

by Thomas Montagnon

 

13 Aug 2007 (Updated 14 Aug 2007)

A new calendar date picker using nested functions

| Watch this File

File Information
Description

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')

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
14 Aug 2007

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

Tag Activity for this File
Tag Applied By Date/Time
gui tools Thomas Montagnon 22 Oct 2008 09:22:54
example Thomas Montagnon 22 Oct 2008 09:22:54
calendar Thomas Montagnon 22 Oct 2008 09:22:54
date picker Thomas Montagnon 22 Oct 2008 09:22:54
nested functions Thomas Montagnon 22 Oct 2008 09:22:54
new Thomas Montagnon 22 Oct 2008 09:22:54
date picker Federico Miorelli 26 Nov 2009 04:24:26
date picker Ben Crosby 13 Apr 2010 18:08:51
calendar Marco Bernardo 16 Jan 2012 14:02:45

Contact us at files@mathworks.com