Expand description
§Timezone Converter
A Rust library for converting times between different timezones and getting timezone information. This library provides functionality to:
- Convert times between any two timezones
- Get current time in different timezones
- Get timezone information including offset and DST status
- Calculate time differences between timezones
§Example
use timezone_converter::TimeZoneConverter;
let converter = TimeZoneConverter::new("America/New_York", "Europe/London").unwrap();
let current_time = converter.get_current_time_source().unwrap();
let converted_time = converter.convert(current_time).unwrap();
Structs§
- Time
Zone Converter - A struct that handles timezone conversions between a source and target timezone
- Time
Zone Info - Represents detailed information about a timezone
Enums§
- Errors
- Possible errors that can occur during timezone operations