Reference · Language & intelligence
Internationalization
49 functions in 12 classes, grouped by what they do, each with the explanation the library gives of itself.
The story of this area, for a general reader: what a crafter does with it, an example run and its rated lanes, is on its Platform page.
The functions, by what they do
Testing and checking
- IsValid utility methods in stzDate
composed example
o1 = new stzDate([ 2026, 5, 30 ]) ? o1.IsValid() #--> 1
composed from the signature, run for this page - IsBetween batch operations in stzDate
oYesterday = new stzDate(:Yesterday) oToday = new stzDate(:Today) oTomorrow = new stzDate(:Tomorrow) ? oToday.IsBetween(oYesterday, :And = oTomorrow) #--> 1
library test - IsWeekday utility checks in stzDate
composed example
o1 = new stzDate([ 2026, 5, 30 ]) ? o1.IsWeekday() #--> 0
composed from the signature, run for this page - IsWeekend utility checks in stzDate
composed example
o1 = new stzDate([ 2026, 5, 30 ]) ? o1.IsWeekend() #--> 1
composed from the signature, run for this page - IsAStzDate utility methods in stzDate
composed example
o1 = new stzDate([ 2026, 5, 30 ]) ? o1.IsAStzDate() #--> 1
composed from the signature, run for this page - IsTomorrow utility checks in stzDate
composed example
o1 = new stzDate([ 2026, 5, 30 ]) ? o1.IsTomorrow() #--> 0
composed from the signature, run for this page - IsYesterday utility checks in stzDate
composed example
o1 = new stzDate([ 2026, 5, 30 ]) ? o1.IsYesterday() #--> 0
composed from the signature, run for this page - HasPoint Checking if a point exists in stzTimeLine
composed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22") ? o1.HasPoint("an") #--> 0composed from the signature, run for this page - HasOverlaps Overlap Detection in stzTimeLine
composed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22") ? o1.HasOverlaps() #--> 0composed from the signature, run for this page - IsAStzTime utility methods in stzTime
composed example
o1 = new stzTime([ :Hour = 0, :Minute = 0, :Second = 0 ]) ? o1.IsAStzTime() #--> 1
composed from the signature, run for this page - IsEqualTo Comparison methods in stzDuration
composed example
o1 = new stzDuration("3 hours 25 minutes 42 seconds") ? o1.IsEqualTo(3) #--> 0composed from the signature, run for this page - CanFit Checking Fitness of a date-duration in the calendar in stzCalendar
and 1 more in the reference
Finding
- FirstDayOfWeek Date queries in stzCalendar
composed example
o1 = new stzCalendar([2024, "Q3"]) ? o1.FirstDayOfWeek() #--> 2024-07-01
composed from the signature, run for this page - NthDayOfWeekNativeAbbreviation This indexed the language's Monday-first list with _n_ directly, so it ignored the locale entirely: for Iran, NthDayOfWeekAbbreviation(1) said Sat and NthDayOfWeekNativeAbbreviation(1) said Mon -- the same day of the same week, named twice, differently. in stzLocale
composed example
o1 = new stzLocale([ :Country = :south_africa ]) ? o1.NthDayOfWeekNativeAbbreviation(2) #--> Mon
composed from the signature, run for this page - FindSpan Find the occurences of a given Period (by label) on the timeline (returns its relative datetimes) in stzTimeLine
- FindPoint Find the occurences of a given moment (by label) on the timeline (returns its relative datetimes) in stzTimeLine
Counting and measuring
- CountPoints How many points in stzTimeLine
composed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22") ? o1.CountPoints() #--> 0composed from the signature, run for this page
Replacing and setting
- SetVizWidth Configuration in stzCalendar
- SetWorkingDays Working days configuration in stzCalendar
- SetBusinessHours Business hours in stzCalendar
- SetComponents utility methods in stzDate
Removing
- RemovePoint Removing points in stzTimeLine
Adding
- AddBreak Breaks management in stzCalendar
- AddHoliday Holiday management in stzCalendar
- AddConstraint constraint management in stzCalendar
- AddPoint Point Management (single moments in time) in stzTimeLine
- AddSpans Span Management (time periods with start and end) in stzTimeLine
- Add Modification methods in stzDuration
Splitting and extracting
- PartOfDay human-readable in stzTime
composed example
o1 = new stzTime([ :Hour = 0, :Minute = 0, :Second = 0 ]) ? o1.PartOfDay() #--> night
composed from the signature, run for this page
Converting
- ToHuman human-readable in stzDateTime
composed example
o1 = new stzDateTime([ :FromEpochHours = 480000 ]) ? o1.ToHuman() #--> Friday, October 4th, 2024 at 12 o'clock AM
composed from the signature, run for this page - ToShort Short formats in stzDateTime
composed example
o1 = new stzDateTime([ :FromEpochHours = 480000 ]) ? o1.ToShort() #--> 04/10 12:00 AM
composed from the signature, run for this page - ToMedium Medium formats in stzDateTime
composed example
o1 = new stzDateTime([ :FromEpochHours = 480000 ]) ? o1.ToMedium() #--> Fri, Oct 4 12:00 AM
composed from the signature, run for this page - ToRelative human-readable in stzDateTime
composed example
o1 = new stzDateTime([ :FromEpochHours = 480000 ]) ? o1.ToRelative() #--> 2 years ago
composed from the signature, run for this page - ToUnixTimeStamp unix timestamp in stzDateTime
oDateTime = StzDateTimeQ(1710498600) # March 15, 2024, 10:30:00 UTC ? oDateTime.Content() ? oDateTime.ToUnixTimeStamp() #--> 2024-03-15 10:30:00 #--> 1710498600
library test - ToUnixTimeStampMs unix timestamp in stzDateTime
composed example
o1 = new stzDateTime([ :FromEpochHours = 480000 ]) ? o1.ToUnixTimeStampMs() #--> 1728000000000
composed from the signature, run for this page - ToJulianDay julian day methods in stzDate
o1 = new stzDate("2025-10-10") ? o1.ToJulianDay() #--> 2460959library test - FromEpochHash combined epoch creation with hash in stzDateTime
- FromNaturalEpoch natural language epoch creation in stzDateTime
- ToCSV export methods in stzCalendar
- ToHash export methods in stzCalendar
- ToJSON export methods in stzCalendar
and 5 more in the reference
Showing, drawing and formatting
- ShowUncovered Hihlighting the uncovered spans in the timeline in stzTimeLine
Walking and applying
- ApplyConstraints constraint management in stzCalendar
The explanations are the ones the library gives of itself, read from its documentation comments on 2026-10-01 04:14, from the library at commit 0e72e2e2c, by the library's own stzSelfDoc over 635 class sources.
The classes of this area
- stzDateTime · 227 methods
- stzCalendar · 166 methods
- stzDate · 92 methods
- stzTimeLine · 87 methods
- stzLocale · 83 methods
- stzTime · 78 methods
- stzDuration · 41 methods
- stzListOfTimeLines · 37 methods
- stzCountry · 27 methods
- stzLanguage · 17 methods
- stzScript · 12 methods
- stzCurrency · 10 methods
Narrations about this area
- FastProUpdate(): A Semantic Rengineering of RingFastPro extension(opens in a new tab)
- Near-Natural Programming: Bridging Human Thought and Code Execution(opens in a new tab)
- Softanza Near-Natural Programming Tutorial(opens in a new tab)
- Time Programming in Softanza: A Gentle Introduction(opens in a new tab)
- Time Capacity Planning in Softanza: Mastering Constraints with stzCalendar(opens in a new tab)
- stzDataSet: Statistics as a Language of Thought(opens in a new tab)
- Date Programming Made Easy in Softanza(opens in a new tab)
- stzDateTime: Elegant DateTime Operations in Softanza(opens in a new tab)
- Graphviz DOT Language Guide: Using stzDotCode(opens in a new tab)
- stzDuration: Measuring Time in Softanza(opens in a new tab)
- Software Global Reach: Locale Management the Softanza Way(opens in a new tab)
- **Natural Language Programming, Reimagined: The `stzNatural` Class in Softanza**(opens in a new tab)

