[−][src]Trait sunrise_libuser::time::TimeZoneService
TimeZone service object
Required methods
fn get_device_location_name(
&mut self,
manager: WorkQueue<'static>
) -> Result<LocationName, Error>
&mut self,
manager: WorkQueue<'static>
) -> Result<LocationName, Error>
Get the time zone name used on this devie
fn set_device_location_name(
&mut self,
manager: WorkQueue<'static>,
unknown_0: LocationName
) -> Result<(), Error>
&mut self,
manager: WorkQueue<'static>,
unknown_0: LocationName
) -> Result<(), Error>
Set the time zone name used on this devie
fn get_total_location_name_count(
&mut self,
manager: WorkQueue<'static>
) -> Result<u32, Error>
&mut self,
manager: WorkQueue<'static>
) -> Result<u32, Error>
Get the total count of location name available
fn load_location_name_list(
&mut self,
manager: WorkQueue<'static>,
unknown_0: u32,
unknown_1: &mut [LocationName]
) -> Result<u32, Error>
&mut self,
manager: WorkQueue<'static>,
unknown_0: u32,
unknown_1: &mut [LocationName]
) -> Result<u32, Error>
Load the list of location name available
fn load_timezone_rule(
&mut self,
manager: WorkQueue<'static>,
unknown_0: LocationName,
unknown_1: &mut TimeZoneRule
) -> Result<(), Error>
&mut self,
manager: WorkQueue<'static>,
unknown_0: LocationName,
unknown_1: &mut TimeZoneRule
) -> Result<(), Error>
Load a time zone rule
fn to_calendar_time(
&mut self,
manager: WorkQueue<'static>,
unknown_0: PosixTime,
unknown_1: &TimeZoneRule
) -> Result<(CalendarTime, CalendarAdditionalInfo), Error>
&mut self,
manager: WorkQueue<'static>,
unknown_0: PosixTime,
unknown_1: &TimeZoneRule
) -> Result<(CalendarTime, CalendarAdditionalInfo), Error>
Convert a PosixTime to a local time using a TimeZoneRule
fn to_calendar_time_with_my_rule(
&mut self,
manager: WorkQueue<'static>,
unknown_0: PosixTime
) -> Result<(CalendarTime, CalendarAdditionalInfo), Error>
&mut self,
manager: WorkQueue<'static>,
unknown_0: PosixTime
) -> Result<(CalendarTime, CalendarAdditionalInfo), Error>
Convert a PosixTime to a local time using the device TimeZoneRule
fn to_posix_time(
&mut self,
manager: WorkQueue<'static>,
unknown_0: CalendarTime,
unknown_1: &TimeZoneRule
) -> Result<PosixTime, Error>
&mut self,
manager: WorkQueue<'static>,
unknown_0: CalendarTime,
unknown_1: &TimeZoneRule
) -> Result<PosixTime, Error>
Convert a local time to a PosixTime using a TimeZoneRule.
fn to_posix_time_with_my_rule(
&mut self,
manager: WorkQueue<'static>,
unknown_0: CalendarTime
) -> Result<PosixTime, Error>
&mut self,
manager: WorkQueue<'static>,
unknown_0: CalendarTime
) -> Result<PosixTime, Error>
Convert a local time to a PosixTime using the device TimeZoneRule
Provided methods
fn dispatch<'a>(
&'a mut self,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>
&'a mut self,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>
Handle an incoming IPC request.