-login:
user: password:
Polski
huginn - programming language with no quirks, so simple every child can master it.
Fork me on GitHub
git clone https://codestation.org/repo/huginn.git
git clone https://github.com/AmokHuginnsson/huginn.git
git clone https://bitbucket.org/huginn/huginn.git
The Time class represent information about point-in-time.
Members
  • equals( other ) - test if otherTime point is the same
  • from_string( str ) - set time from parsed stringstr
  • get_day() - get number of days from time
  • get_day_of_week() - get day of the week for this time
  • get_days_in_month() - get number of days in month for this time
  • get_hour() - get number of hours from time
  • get_minute() - get number of minutes from time
  • get_month() - get number of months from time
  • get_second() - get number of seconds from time
  • get_year() - get number of years from time
  • hash() - calculate hash value for this Time point
  • less( other ) - test if this Time point comes before otherTime point
  • mod_day( num ) - modify time value by num of days
  • mod_hour( num ) - modify time value by num of hours
  • mod_minute( num ) - modify time value by num of minutes
  • mod_month( num ) - modify time value by num of months
  • mod_second( num ) - modify time value by num of seconds
  • mod_year( num ) - modify time value by num of years
  • set_date( YYYY, MM, DD ) - set date value to YYYY-MM-DD
  • set_datetime( YYYY, MM, DD, hh, mm, ss ) - set date value to YYYY-MM-DDhh:mm:ss
  • set_time( hh, mm, ss ) - set time value to hh:mm:ss
  • subtract( time ) - calculate time difference between this and time time points
  • to_string() - get string representation of this point-in-time