Enumerations

enum Month
Name Value
JANUARY 1
FEBRUARY 2
MARCH 3
APRIL 4
MAY 5
JUNE 6
JULY 7
AUGUST 8
SEPTEMBER 9
OCTOBER 10
NOVEMBER 11
DECEMBER 12

Defined at line 15 of file ../../src/devices/rtc/lib/rtc/include/librtc_llcpp.h

Records

Functions

  • bool IsRtcValid (FidlRtc::wire::Time rtc)

    Defined at line 63 of file ../../src/devices/rtc/lib/rtc/librtc_llcpp.cc

  • FidlRtc::wire::Time SecondsToRtc (uint64_t seconds)

    Convert |seconds| to RTC. If |seconds| is before the local epoch time, then

    the default RTC value is returned instead.

    Defined at line 87 of file ../../src/devices/rtc/lib/rtc/librtc_llcpp.cc

  • uint64_t SecondsSinceEpoch (FidlRtc::wire::Time rtc)

    Defined at line 128 of file ../../src/devices/rtc/lib/rtc/librtc_llcpp.cc

  • FidlRtc::wire::Time SanitizeRtc (zx_device_t * deviceFidlRtc::wire::Time rtc)

    Validate that |rtc| is set to a valid time and is later than the default year

    and environment backstop time. If it is, then return |rtc|. Otherwise, return

    the backstop time. If the backstop time isn't available, return the default rtc.

    Defined at line 151 of file ../../src/devices/rtc/lib/rtc/librtc_llcpp.cc