Name

SPVM::Sys::Time::Timezone - struct timezone in the C language

Description

Sys::Time::Timezone class in SPVM represents struct timezone in the C language.

Usage

use Sys::Time::Timezone;

my $tz = Sys::Time::Timezone->new;

my $tz_minuteswest = $tz->tz_minuteswest;
$tz->set_tz_minuteswest(12);

my $tz_dsttime = $tz->tz_dsttime;
$tz->set_tz_dsttime(34);

Class Methods

new

static method new : Sys::Time::Timezone ();

Creates a new Sys::Time::Timezone object.

Instance Methods

tz_minuteswest

method tz_minuteswest : int ();

Returns tz_minuteswest.

set_tz_minuteswest

method set_tz_minuteswest : void ($tz_minuteswest : int);

Sets tz_minuteswest.

tz_dsttime

method tz_dsttime : int ();

Returns tz_dsttime.

set_tz_dsttime

method set_tz_dsttime : void ($tz_dsttime : int);

Sets tz_dsttime.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License