SAP CDT - Time

Definition

Time since begin of day in a 24 hour day.

Dictionary Entry Name

Time. Type

Example (Instance)

<WakeUpTime>06:00:00</WakeUpTime>
<OpeningTime>08:00:00</OpeningTime>

Structure

CDT Attributes Category Object Class Term Property Term Representation Term Type Type Name Length Cardinality Remarks
Time   complexType Time   Type XSD time     restricted

Detailed Description and Value Ranges

Time uses the W3C "built-in data type" xsd:time. This is structured according to the extended reavailableation of ISO 8601 (see NOTE-datetime). The reavailableation for Time is the left truncated lexical reavailableation for DateTime without optional following time zone indicator.

The extended reavailableation is as follows:

hh:mm:ss(.sss)

Example:

15:30:00

The extended representation uses the following literals:

Code Description Value Range
hh for hours 00 - 23
mm for minutes 00 - 59
ss for seconds 00 - 59
.sss One or more characters after the decimal point represent fractions of a second. The representation is limited to a maximum of three decimal places, that is, the time can be expressed to a thousandth of a second.  
: A colon between the hours, minutes, and seconds is mandatory.  

The following value ranges are defined for Time:

  • Time - Represents exactly 24 hours (0 - 23)
  • Minutes - Represents exactly 60 minutes (0 -59)
  • Seconds - Represents exactly 60 seconds (0 -59)

Detailed Description of Attributes and Elements

Not specified

Facets of Content Component

Facet Description Example
pattern Pattern is a constraint of the content component. The representation of pattern must be based on regular expression defined by W3C XML Schema (Part II). [0-3][0-9]:[0-9]0:00
whiteSpace whiteSpace is a constraint of special characters in the content component. whiteSpace must be one of the following values:
- preserve - No normalization (changings) of the content component
- replace - All occurrences of tab (#x9), line feed (#xA), and carriage return (#xD) are replaced with space (#x20)
- collapse - It implies replace. Additionally, contiguous sequences of spaces (#x20#x20....) are collapsed, and leading and trailing spaces (#x20) are truncated.
whitSpace value="preserve|replace|collapse"
maxInclusive Max Inclusive is the inclusive upper bound of the content component, which limits the content to less than or equal to the defined maxInclusive value. maxInclusive value="12:00:00"
allowed range .. - 12:00:00
maxExclusive Max Exclusive is the exclusive upper bound of the content component, which limits the content to less than the defined maxExclusive value. maxExclusive value="12:00:00"
allowed range ... - 11:59:59
minInclusive Min Inclusive is the inclusive lower bound of the content component, which limits the content to greater than or equal to the defined minInclusive value. minInclusive value="12:00:00"
allowed range 12:00:00 - ..
minExclusive Min Exclusive is the exclusive lower bound of the content component, which limits the content to greater than the defined minExclusive value. minExclusive value="12:00:00"
allowed range 12:00:01 - ..

Integrity Conditions

Not applicable.

Use

Time is used to reavailable a time on any day. Examples of times wake-up times each day or the time start and end time of a period of time such as the working day or lunch hour.

Notes

The reavailableation 24:00:00 (midnight) is not supported. Input and display of 24:00:00 could be possible in the context of an interval end time-point. Technically this is reavailableed as 00:00:00 the following day. The possibility to specify a time zone offset has been removed.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.