rules. Timestamp
            A timestamp in UTC with nanosecond accuracy.
Methods
date
date() returns rules.Timestamp
Timestamp value containing year, month, and day only.
- Returns
 - 
                  
non-null rules.TimestampThe timestamp. 
day
day() returns rules.Integer
Get the day value of the timestamp.
- Returns
 - 
                  
non-null rules.Integerday value. 
dayOfWeek
dayOfWeek() returns rules.Integer
Get the day of the week as a value from 1 to 7.
- Returns
 - 
                  
non-null rules.Integerthe day of the week. 
dayOfYear
dayOfYear() returns rules.Integer
Get the day of the year as a value from 1 to 366.
- Returns
 - 
                  
non-null rules.Integerthe day of the year. 
hours
hours() returns rules.Integer
Get the hours value of the timestamp.
- Returns
 - 
                  
non-null rules.Integerhours value. 
minutes
minutes() returns rules.Integer
Get the minutes value of the timestamp.
- Returns
 - 
                  
non-null rules.Integerminutes value. 
month
month() returns rules.Integer
Get the month value of the timestamp.
- Returns
 - 
                  
non-null rules.Integermonth value. 
nanos
nanos() returns rules.Integer
Get the nanos value of the timestamp.
- Returns
 - 
                  
non-null rules.Integernanos value. 
seconds
seconds() returns rules.Integer
Get the seconds value of the timestamp.
- Returns
 - 
                  
non-null rules.Integerseconds value. 
time
time() returns rules.Duration
Get the duration value from the time portion of the timestamp.
- Returns
 - 
                  
non-null rules.Durationduration value. 
toMillis
toMillis() returns rules.Integer
Get the time in milliseconds since the epoch.
- Returns
 - 
                  
non-null rules.Integertime in milliseconds. 
year
year() returns rules.Integer
Get the year value of the timestamp.
- Returns
 - 
                  
non-null rules.Integeryear value.