Class
PhoshWallClock
[−]
Instance methods
phosh_wall_clock_get_clock
Gets the current clock string, if time_only is true this will be just the current time, otherwise the date + time.
phosh_wall_clock_local_date
Get the local date as string We honor LC_MESSAGES so we e.g. don’t get a translated date when the user has LC_MESSAGES=en_US.UTF-8 but LC_TIME to their local time zone.
phosh_wall_clock_set_default
Set the wall clock singleton. This sets the singleton returned by
phosh_wall_clock_get_default()
.
[+]
Class structure
[−]
Virtual methods
Phosh.WallClockClass.get_clock
Gets the current clock string, if time_only is true this will be just the current time, otherwise the date + time.