lwpa  0.1.0
LightWeight Platform Abstraction (lwpa)
View other versions:
LwpaLogTimeParams Struct Reference

Overview

A set of parameters which represent the current local time with millisecond resolution.

Data Fields

int year
 Absolute year. More...
 
int month
 Month of the year. More...
 
int day
 Day of the month. More...
 
int hour
 Hours since midnight. More...
 
int minute
 Minutes past the current hour. More...
 
int second
 Seconds past the current minute. More...
 
int msec
 Milliseconds past the current second. More...
 
int utc_offset
 The local offset from UTC in minutes.
 

Field Documentation

◆ day

int day

Day of the month.

Valid range 1-31.

◆ hour

int hour

Hours since midnight.

Valid range 0-23.

◆ minute

int minute

Minutes past the current hour.

Valid range 0-59.

◆ month

int month

Month of the year.

Valid range 1-12 (starting with 1 for January).

◆ msec

int msec

Milliseconds past the current second.

Valid range 0-999.

◆ second

int second

Seconds past the current minute.

Valid range 0-60 (to handle leap seconds).

◆ year

int year

Absolute year.

Valid range 0-9999.


The documentation for this struct was generated from the following file: