wallClockIn method

({int hour, int minute, int second}) wallClockIn(
  1. HoraTimezone tz
)

Gets the wall clock time in another timezone.

Returns only the time components (hour, minute, second) as a record.

Implementation

({int hour, int minute, int second}) wallClockIn(HoraTimezone tz) {
  final converted = inTimezone(tz);
  return (
    hour: converted.hour,
    minute: converted.minute,
    second: converted.second,
  );
}