Previous

Overview - DTS Extended BNF

This topic defines the Distributed Time Service (DTS) syntax in extended Backus Naur Format (BNF) notation.

The BNF for DTS time conversion has four parts: year, day, tdf, and inaccuracy. For any part whose value is not explicitly expressed, the conversion default value is taken as that of the current day. The BNF for the DTS time conversion is as follows:

dts_time : year_part day_part tdf_part inacc_part

| year_part day_part tdf_part

| year_part day_part

| year_part day_part inacc_part

| year_part inacc_part

| year_part

| day_part tdf_part inacc_part

| day_part tdf_part

| day_part inacc_part

| day_part

| year_part Z

| year_part Z inacc_part

| year_part day_part Z inacc_part

| day_part Z inacc_part

| day_part Z

;

year_part : number - number - number -

| number - number - number T

| number - number T

| number T

;


day_part : partial : partial : partial

| partial : partial

| partial

;


tdf_part : sign number : number

| sign number

;


sign : -

| +

;


partial : number

| number frac

| number frac number

| frac number

;


frac : .

| ,

;


inacc_part : I

| I partial

| I infinity

;


infinity : 'i''n''f'

| - -

| - - - - -

;


number : DIGIT

| number DIGIT

;