
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 265
XMPDateTime object
This class represents a date and time. Times include a time zone, and can have up to nanosecond
resolution.
XMPDateTime object constructors
new XMPDateTime ( ); // creates an object containing a 0 date
new XMPDateTime ( date ); // initializes the object with a JavaScript date
new XMPDateTime ( iso8601Date ); // initializes the object with an ISO date
FILE_MPEG2
MP2
FILE_MPEG4
MP4
FILE_WMAV
WMAV, Windows Media Audio and Video
FILE_AIFF
AIFF
FILE_HTML
HTML
FILE_XML
XML
FILE_TEXT
TEXT
FILE_PHOTOSHOP
PSD, Photoshop
FILE_ILLUSTRATOR
AI, Illustrator
FILE_INDESIGN
INDD, Indesign
FILE_AE_PROJECT
AE, After Effects
FILE_AE_PROJECT_TEMPLATE
AET, After Effects Project Template
FILE_AE_FILTER_PRESET
FFX, After Effects Filter Preset file
FILE_ENCORE_PROJECT
NCOR, Encore DVD project file
FILE_PREMIERE_PROJECT
PRPJ, Premiere Project file
FILE_PREMIERE_TITLE
PRTL, Premiere Title file
date
A JavaScript Date object.
The time zone is set to the local operation-system time-zone value.
Times in the XMP Toolkit can have up to nanosecond resolution; however, when
converting to or from a JavaScript
Date value, time resolution is reduced to milliseconds.
iso8601Date
A string containing a date-time in ISO 8601 format; for example:
"2007-04-10T17:54:50+01:00"
Kommentare zu diesen Handbüchern