home *** CD-ROM | disk | FTP | other *** search
/ MACD 7 / MACD7.iso / mui / mcc_datetext / developer / autodocs / mcc_datetext.doc
Encoding:
Text File  |  1998-01-12  |  2.2 KB  |  86 lines

  1. TABLE OF CONTENTS
  2.  
  3. DateText/--background--
  4. DateText/MUIA_DateText_DateFormat
  5. DateText/--background--
  6.  
  7.    NAME
  8.     DateText -- ... (V12)
  9.  
  10.    FUNCTION
  11.     DateText is a Custom Class that displaying a text gadget for date
  12.     strings. The display format of the date string can be freely defined.
  13.  
  14.    SEE ALSO
  15.     MCC_Date.doc
  16. DateText/MUIA_DateText_DateFormat
  17.  
  18.    NAME
  19.     MUIA_DateText_DateFormat, STRPTR [ISG] -- Date format string (V12)
  20.  
  21.    SYNOPSIS
  22.     MUIA_DateText_DateFormat, "%d.%m.%Y",
  23.  
  24.     \*result =*\ set(obj,MUIA_DateText_DateFormat,dfs);
  25.     \*result =*\ get(obj,MUIA_DateText_DateFormat,&dfs);
  26.  
  27.    FUNCTION
  28.     The MUIA_DateText_DateFormat attribute of a DateText object can
  29.     be used to define a date format.
  30.     Defaults to system Locale->loc_ShortDateFormat or "%Y-%m-%d" if no
  31.     locale can be found.
  32.  
  33.    INPUTS
  34.     dfs - Date format string
  35.  
  36.    RESULT
  37.     dfs - Date format string
  38.  
  39.    NOTES
  40.     Syntax of Amiga compatible % commands:
  41.     %d : Day number with leading 0s
  42.     %e : Day number with leading spaces
  43.     %m : Month number with leading 0s
  44.     %h : Abbreviated month name
  45.     %b : Abbreviated month name
  46.     %B : Month name
  47.     %y : Year using two digits with leading 0s
  48.     %Y : Year using four digits with leading 0s
  49.     %j : Julian date
  50.     %w : Weekday number
  51.     %a : Abbreviated weekday name
  52.     %A : Weekday name
  53.     %U : Week number, taking Sunday as first day of week
  54.     %W : Week number, taking Monday as first day of week
  55.     %x : Same as "%m/%d/%y"
  56.     %D : Same as "%m/%d/%y"
  57.  
  58.     Syntax of % commands:
  59.     %Ddf  : Day with leading 0s
  60.     %Ddv  : Day without leading 0s
  61.     %DDf  : Day within the year with leading 0s
  62.     %DDv  : Day within the year without leading 0s
  63.     %Dmf  : Month with leading 0s
  64.     %Dmv  : Month without leading 0s
  65.     %Dms  : Month string
  66.     %Dma  : Abbreviated month string
  67.     %Dy2f : 2-digit year with leading 0s
  68.     %Dy2v : 2-digit year without leading 0s
  69.     %Dy4f : 4-digit year with leading 0s
  70.     %Dy4v : 4-digit year without leading 0s
  71.     %Dys  : Scaliger year
  72.     %Dj   : JD date
  73.     %DJ   : MJD date
  74.     %Dwn  : Weekday number (1-7)
  75.     %Dws  : Weekday string
  76.     %Dwa  : Abbreviated weekday string
  77.     %DWf  : Weeknumber with leading 0s
  78.     %DWv  : Weeknumber without leading 0s
  79.     %DMf  : Age of the moon (0-30 ?) with leading 0s
  80.     %DMv  : Age of the moon (0-30 ?) without leading 0s
  81.  
  82.    BUGS
  83.     No known bugs.
  84.  
  85.    SEE ALSO
  86.