Skip to content

Commit eefd5d1

Browse files
committed
Add example date-time names
1 parent 17e995c commit eefd5d1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure/ConsiderationsForServiceDesign.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,16 @@ For example, `nextUrl` not `nextURL`.
118118

119119
:ballot_box_with_check: **YOU SHOULD** use "DateTime" suffix in names of `date-time` values.
120120

121+
For example, `createdDateTime` not `createdAt` or `createdTime`. Common date-time properties and their recommended names are:
122+
123+
| Property Name | Description |
124+
| --- | --- |
125+
| createdDateTime | The date and time the resource was created. |
126+
| lastModifiedDateTime | The date and time the resource was last modified. |
127+
| deletedDateTime | The date and time the resource was deleted. |
128+
| startDateTime | The starting date and time of an interval. |
129+
| endDateTime | The ending date and time of an interval. |
130+
121131
:ballot_box_with_check: **YOU SHOULD** use a suffix of the unit of measurement for values with a clear unit of measurement (such as bytes, miles, and so on). Use a generally accepted abbreviation for the units (e.g. "Km" rather than "Kilometers") when appropriate.
122132

123133
:ballot_box_with_check: **YOU SHOULD** use an int for time durations and include the time units in the name.

0 commit comments

Comments
 (0)