Bikram Sambat
Contact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • About
  • Introduction
  • Table of contents
  • Initialization
    • Initializing with a Date String
    • Initializing with Another BikramSambat Instance
    • Default Initialization
  • Constructor
  • Properties
  • Working with Dates
    • getDay
    • getMonth
    • getYear
    • setDay
    • setMonth
    • setYear
  • Formating Dates
    • format
    • toString
  • Comparing Dates
    • isAfter
    • isBefore
    • isSameDay
    • isSameMonth
    • isSameWeek
    • isSameYear
  • Fetching Relative Dates
    • getPreviousDay
    • getNextDay
    • getWeekStartDate
    • getWeekEndDate
    • startOfMonth
    • endOfMonth
  • Static Methods
    • toAD
    • fromAD
    • getWeekdayNames
    • getMonthNames
  • Navigating Dates
    • getNextYear
    • getPreviousYear
    • toAD
    • addYears
    • addMonths
    • addDays
    • getDaysInMonth
    • isLeapYear
    • getDayOfWeek
    • getPreviousMonth
    • getNextMonth

On This Page

  • Properties
Question? Give us feedback → (opens in a new tab)Edit this page
Properties

Properties

The BikramSambat class encapsulates three private properties: year, month, and day. These properties store the year, month, and day of the Bikram Sambat date instance, respectively. If any of these properties are undefined, the date instance represents an invalid date.

ConstructorWorking with Dates

Bikram Sambat by Ask Buddie